cgl.narada.transport.up2p.messages
Class P2PConnectionRequest
java.lang.Object
cgl.narada.transport.up2p.messages.P2PConnectionRequest
- All Implemented Interfaces:
- Serializable
public class P2PConnectionRequest
- 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 |
P2PConnectionRequest
public P2PConnectionRequest(String destId,
String magic)
getDestinationPeerID
public final String getDestinationPeerID()
getMagic
public final String getMagic()
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 P2PConnectionRequest createObjectFromBytes(byte[] objectBytes)
- Unmarshalls the bytes as a P2PConnectionRequest object
- Parameters:
objectBytes
-
- Returns:
- P2PConnectionRequest if successful, null if error occurs
For comments and suggestions please send
e-mail to
The NaradaBrokering Project