cgl.narada.transport.up2p.messages
Class Registration
java.lang.Object
cgl.narada.transport.up2p.messages.Registration
- All Implemented Interfaces:
- Serializable
public class Registration
- extends Object
- implements Serializable
Created on Aug 7, 2006
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Registration
public Registration(String id,
SocketAddress addr)
getClientID
public final String getClientID()
- Returns:
- Returns the clientID.
getPrivateAddress
public final SocketAddress getPrivateAddress()
- Returns:
- Returns the privateAddress.
getBytes
public byte[] getBytes()
- Marshalls the object into an array of bytes.
- Returns:
- an array of bytes representing the marshaller object, null if
error occurs
createObjectFromBytes
public static Registration createObjectFromBytes(byte[] objectBytes)
- Unmarshalls the bytes as a Registration object
- Parameters:
objectBytes -
- Returns:
- Registration if successful, null if error occurs
For comments and suggestions please send
e-mail to
The NaradaBrokering Project