org.jdesktop.wonderland.common.messages
Class ProtocolSelectionMessage

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

public class ProtocolSelectionMessage
extends Message

The initial message that a client must send to the Wonderland server in order to specify a communications protocol to use.

Author:
jkaplan
See Also:
Serialized Form

Constructor Summary
ProtocolSelectionMessage(java.lang.String protocolName, ProtocolVersion protocolVersion)
          Create a new ProtocolSelectionMessage
 
Method Summary
 java.lang.String getProtocolName()
          Get the name of the protocol
 ProtocolVersion getProtocolVersion()
          Get the protocol version
 void setProtocolName(java.lang.String protocolName)
          Set the name of the protocol
 void setProtocolVersion(ProtocolVersion protocolVersion)
          Set the protocol version
 
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

ProtocolSelectionMessage

public ProtocolSelectionMessage(java.lang.String protocolName,
                                ProtocolVersion protocolVersion)
Create a new ProtocolSelectionMessage

Parameters:
protocolName - the name of the protocol
protocolVersion - the version of the protocol
Method Detail

getProtocolName

public java.lang.String getProtocolName()
Get the name of the protocol

Returns:
the protocol name

setProtocolName

public void setProtocolName(java.lang.String protocolName)
Set the name of the protocol

Parameters:
protocolName - the name of the protocol

getProtocolVersion

public ProtocolVersion getProtocolVersion()
Get the protocol version

Returns:
the protocol version

setProtocolVersion

public void setProtocolVersion(ProtocolVersion protocolVersion)
Set the protocol version

Parameters:
protocolVersion - the version of the protocol


Open Wonderland - http://openwonderland.org