universe.control
Class WithWorld

java.lang.Object
  extended by universe.control.Message
      extended by universe.control.WithWorld
All Implemented Interfaces:
java.io.Serializable

public class WithWorld
extends Message

See Also:
Serialized Form

Constructor Summary
WithWorld(Message m, Server.WorldShell w)
           
 
Method Summary
 Server.WorldImp getWImp()
           
 Server.WorldShell getWShell()
           
 boolean isConnect()
          Is this a Connect Message?
 boolean isDisconnect()
          Is this a Disconnect Message?
 boolean isTransfer()
          Is this a Transfer Message?
<R> R
payload()
          Get the message's payload/content
 
Methods inherited from class universe.control.Message
from
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WithWorld

public WithWorld(Message m,
                 Server.WorldShell w)
Method Detail

isTransfer

public boolean isTransfer()
Description copied from class: Message
Is this a Transfer Message?

Overrides:
isTransfer in class Message

isConnect

public boolean isConnect()
Description copied from class: Message
Is this a Connect Message?

Overrides:
isConnect in class Message

isDisconnect

public boolean isDisconnect()
Description copied from class: Message
Is this a Disconnect Message?

Overrides:
isDisconnect in class Message

getWShell

public Server.WorldShell getWShell()

getWImp

public Server.WorldImp getWImp()

payload

public <R> R payload()
Description copied from class: Message
Get the message's payload/content

Overrides:
payload in class Message