|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImudServices
This interface prescribes methods that need to be implemented by a class in the mudlib. These methods do mudlib specific handling of intermud packets as well as provide the Imaginary Intermud 3 System with mudlib specific information.
| Method Summary | |
|---|---|
java.util.Enumeration |
getChannels()
|
java.lang.String |
getLocalChannel(java.lang.String str)
Given a I3 channel name, this method should provide the local name for that channel. |
java.lang.String |
getMudName()
|
int |
getMudPort()
|
java.lang.String |
getMudState()
|
java.lang.String |
getMudVersion()
|
java.lang.String |
getRemoteChannel(java.lang.String str)
Given a local channel name, returns the remote channel name. |
void |
receive(Packet packet)
Handles an incoming I3 packet asynchronously. |
| Method Detail |
|---|
void receive(Packet packet)
packet - the incoming packetjava.util.Enumeration getChannels()
java.lang.String getLocalChannel(java.lang.String str)
if( str.equals("imud_code") ) return "intercre";
str - the remote name of the desired channel
getRemoteChannel(java.lang.String)java.lang.String getMudVersion()
java.lang.String getMudName()
java.lang.String getMudState()
int getMudPort()
java.lang.String getRemoteChannel(java.lang.String str)
if( str.equals("intercre") ) return "imud_code";
str - the local name of the desired channel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||