universe.control
Class Transfer

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

public class Transfer
extends Message

Represents a Transfer of some message payload

See Also:
Serialized Form

Constructor Summary
Transfer(long id, java.lang.Object m)
          Create a Transfer Message with the given World ID and Payload
 
Method Summary
 boolean isTransfer()
          Is this a Transfer Message?
<R> R
payload()
          Return the message's transfered payload...
 
Methods inherited from class universe.control.Message
from, isConnect, isDisconnect
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transfer

public Transfer(long id,
                java.lang.Object m)
Create a Transfer Message with the given World ID and Payload

Method Detail

isTransfer

public boolean isTransfer()
Is this a Transfer Message?

Overrides:
isTransfer in class Message

payload

public <R> R payload()
Return the message's transfered payload...

Overrides:
payload in class Message