|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.protocol.ConnectionSetup
public class ConnectionSetup
The Connection Setup, specifies the transport protocol, and information associated with the transport layer that are needed to effectively set up a server node.
| Constructor Summary | |
|---|---|
ConnectionSetup(byte[] data)
This reflects an unmarshalling of the connection setup information regarding a node that is received over a link |
|
ConnectionSetup(int transport,
int portNum)
Creation of the Connection Setup, specifying the transport layer that needs to be employed and the portNum associated with the socket through which other nodes would communicate with the node in question |
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
A marshalling of the connection setup information. |
int |
getPortNum()
Returns the port number associated with the socket used for communication |
int |
getTransport()
Returns the transport identifier associated with a certain connection setup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionSetup(int transport,
int portNum)
public ConnectionSetup(byte[] data)
data - - Representation of a connection as a sequence of bytes.| Method Detail |
|---|
public int getTransport()
public int getPortNum()
public byte[] getBytes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||