TelnetEventListenerpublic class PuppetSocket extends MuSocket
characterType| Constructor | Description |
|---|---|
PuppetSocket() |
The public constructor used to set the characterType to 1 (PuppetSocket)
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
disconnectCleanUp() |
This method is used to clean up any loose ends left over from the
connection
|
MuSocket |
getParentSocket() |
Returns the "parent" connection for this puppet
|
java.lang.String |
getPuppetCommand() |
Returns the command that JamochaMUD looks for to determine what goes to this puppet
|
java.lang.String |
getPuppetName() |
Returns the name of the puppet currently set for this view
|
java.lang.String |
getPuppetSendCommand() |
Returns the command pre-pended to output to the MU* from this puppet
|
void |
run() |
This is the main method for our thread.
|
void |
sendText(java.lang.String send) |
Send the text to the parent MuSocket.
|
void |
setParentSocket(MuSocket parentSocket) |
As a PuppetSocket is not really a separate connection to the MU*, we
must set the "parent" socket to use for communication
|
void |
setPuppetCommand(java.lang.String puppetCommand) |
Sets the command that JamochaMUD looks for to determine what goes to this puppet
|
void |
setPuppetName(java.lang.String puppetName) |
Set the name of the puppet using this view
|
void |
setPuppetSendCommand(java.lang.String puppetSendCommand) |
Set the command to pre-pend to output to the MU* from this puppet
|
addPuppet, closeSocket, colorToHex, enableBackgroundPainting, getAddress, getCharacterName, getCharacterType, getCodePage, getConnectString, getMUName, getPort, getSwingTextWindow, getTextWindow, getTimeStamp, getTitle, getWorld, isAutoConnect, isConnectionActive, isEchoState, isLogging, isMCCP, isPaused, isSSL, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, puppetExists, removePuppet, resetTitle, setActiveMU, setAddress, setAutoConnect, setCharacterName, setCodePage, setConnectString, setEchoState, setLogging, setMCCP, setMUName, setPaused, setPort, setSSL, setTimeStamp, setWorld, spoolText, telnetMessageReceived, validate, write, writeequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic PuppetSocket()
public void run()
MuSocketpublic MuSocket getParentSocket()
public void setParentSocket(MuSocket parentSocket)
parentSocket - The MuSocket connection used by this puppetpublic java.lang.String getPuppetName()
public void setPuppetName(java.lang.String puppetName)
puppetName - The name of the puppet using this viewpublic java.lang.String getPuppetCommand()
public void setPuppetCommand(java.lang.String puppetCommand)
puppetCommand - Command pre-pendpublic java.lang.String getPuppetSendCommand()
public void setPuppetSendCommand(java.lang.String puppetSendCommand)
puppetSendCommand - public void sendText(java.lang.String send)
public void disconnectCleanUp()
MuSocketdisconnectCleanUp in class MuSocket