ServerObjectIMudUser, Interactivepublic interface ServerUser extends ServerObject
| Modifier and Type | Method | Description |
|---|---|---|
void |
connect() |
This method is triggered by the server when the
user first connects.
|
void |
processInput() |
The server calls this method every server cycle.
|
void |
setSocket(java.net.Socket s) |
The server calls this method just after creating an instance
of the mudlib user connection object that implements this
interface.
|
destruct, getDestructed, getObjectId, processEvent, setObjectIdvoid connect()
void processInput()
void setSocket(java.net.Socket s)
throws java.io.IOException
s - the socket connected to the user's machinejava.io.IOException - thrown if a problem creating I/O streams occursClass.forName(java.lang.String),
Class.newInstance()