|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ServerUser
The ServerUser interface prescribes behaviours which
must be defined by any user connection used with
the Imaginary JavaMud Server. Specifically, it
requires that the user connection be able to handle
user input somehow.
Created: 27 September 1996
Last modified: 27 Septembet 1996
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface com.planet_ink.coffee_mud.core.intermud.server.ServerObject |
|---|
destruct, getDestructed, getObjectId, processEvent, setObjectId |
| Method Detail |
|---|
void connect()
void processInput()
void setSocket(java.net.Socket s)
throws java.io.IOException
s - the socket connected to the user's machine
java.io.IOException - thrown if a problem creating I/O streams occursClass.forName(java.lang.String),
Class.newInstance()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||