org.jdesktop.wonderland.common.comms.messages
Class AttachedClientMessage

java.lang.Object
  extended by org.jdesktop.wonderland.common.messages.Message
      extended by org.jdesktop.wonderland.common.messages.ResponseMessage
          extended by org.jdesktop.wonderland.common.comms.messages.AttachedClientMessage
All Implemented Interfaces:
java.io.Serializable

public class AttachedClientMessage
extends ResponseMessage

Message used to respond to an attach client request. Incudes the short client ID that must be pre-pended to all messages using this client type.

Author:
jkaplan
See Also:
Serialized Form

Constructor Summary
AttachedClientMessage(MessageID messageID, short clientID)
          Create a new AttachedClientMessage
 
Method Summary
 short getClientID()
          Get the client ID
 
Methods inherited from class org.jdesktop.wonderland.common.messages.Message
getMessageID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachedClientMessage

public AttachedClientMessage(MessageID messageID,
                             short clientID)
Create a new AttachedClientMessage

Parameters:
messageID - the id of the message this is a response to
clientID - the client ID to use in future communications
Method Detail

getClientID

public short getClientID()
Get the client ID

Returns:
the client ID


Open Wonderland - http://openwonderland.org