agentland.util
Interface SocketServer

All Known Implementing Classes:
SocketServerAgent

public interface SocketServer
extends Managed

Interface for a SocketListener at the DEFAULT_PORT.

See Also:
SocketServerAgent, Managed

Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 int getDefaultPort()
           
 void listen(int port)
           
 void processMsg(String msg)
           
 
Methods inherited from interface agentland.resource.Managed
getNeed, replace, resources, yank, yank
 
Methods inherited from interface agentland.util.Good
getHistory, getHistoryElement, resetHistory
 
Methods inherited from interface agentland.util.Spy
tell
 

Method Detail

listen

public void listen(int port)
            throws RemoteException

getDefaultPort

public int getDefaultPort()
                   throws RemoteException

processMsg

public void processMsg(String msg)
                throws RemoteException