com.metamatrix.common.comm.platform.socket
Class Handshake

java.lang.Object
  extended by com.metamatrix.common.comm.platform.socket.Handshake
All Implemented Interfaces:
java.io.Serializable

public class Handshake
extends java.lang.Object
implements java.io.Serializable

Represents the information needed in a socket connection handshake

See Also:
Serialized Form

Constructor Summary
Handshake()
           
 
Method Summary
 byte[] getPublicKey()
           
 java.lang.String getVersion()
           
 void setPublicKey(byte[] key)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Handshake

public Handshake()
Method Detail

getVersion

public java.lang.String getVersion()
Returns:
Returns the version.

setVersion

public void setVersion(java.lang.String version)
Parameters:
version - The version to set.

getPublicKey

public byte[] getPublicKey()
Returns:
Returns the key.

setPublicKey

public void setPublicKey(byte[] key)
Parameters:
key - The key to set.


Copyright © 2009. All Rights Reserved.