universe
Class Server.WorldImpObj

java.lang.Object
  extended by universe.Server.WorldShell
      extended by universe.Server.WorldImp
          extended by universe.Server.WorldImpObj
All Implemented Interfaces:
java.io.Serializable, IWorld
Enclosing class:
Server<Univ,Msg>

public static class Server.WorldImpObj
extends Server.WorldImp

Transfer using Object Streams... requires serializable

See Also:
Serialized Form

Constructor Summary
Server.WorldImpObj(java.lang.String n, long id, java.io.ObjectInputStream in, java.io.ObjectOutputStream out)
           
 
Method Summary
 void close()
           
 java.lang.Object receiveMessage()
           
 void sendMessage(java.lang.Object o, java.lang.String from)
           
 
Methods inherited from class universe.Server.WorldShell
equals, equals, id, name
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Server.WorldImpObj

public Server.WorldImpObj(java.lang.String n,
                          long id,
                          java.io.ObjectInputStream in,
                          java.io.ObjectOutputStream out)
Method Detail

receiveMessage

public java.lang.Object receiveMessage()
                                throws java.lang.Exception
Specified by:
receiveMessage in class Server.WorldImp
Throws:
java.lang.Exception

sendMessage

public void sendMessage(java.lang.Object o,
                        java.lang.String from)
Specified by:
sendMessage in class Server.WorldImp

close

public void close()
           throws java.lang.Exception
Specified by:
close in class Server.WorldImp
Throws:
java.lang.Exception