universe.control
Class Connect

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

public class Connect
extends Message

Represents a Connect Message when a new World is added to the Universe

See Also:
Serialized Form

Constructor Summary
Connect(java.lang.String n, long id)
          Create a Connect Message from a Name
 
Method Summary
 boolean isConnect()
          Is this a Connect Message?
 java.lang.String name()
          Get the sender's Name
 
Methods inherited from class universe.control.Message
from, isDisconnect, isTransfer, payload
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Connect

public Connect(java.lang.String n,
               long id)
Create a Connect Message from a Name

Method Detail

isConnect

public boolean isConnect()
Is this a Connect Message?

Overrides:
isConnect in class Message

name

public java.lang.String name()
Get the sender's Name