|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.network.VirtualizedNetCert
Certifies that a virtual node can be contacted through a specified
proxy. An AuthenticationMsg
includes one
VirtualizedNetCert
for each virtual node in the system.
Eventually should be signed.
Constructor Summary | |
---|---|
VirtualizedNetCert(InputBuffer buffer)
Constructs an VirtualizedNetCert from its
serialize d form. |
|
VirtualizedNetCert(NodeId virtual_node_id,
NodeId contact_id)
Creates a new VirtualizedNetCert. |
Method Summary | |
---|---|
NodeId |
get_contact_id()
Returns the id at which to contact the virtual node. |
NodeId |
get_virtual_node_id()
Returns the id of the virtual node. |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer . |
String |
toString()
Returns a human-readable representation of this message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public VirtualizedNetCert(NodeId virtual_node_id, NodeId contact_id)
public VirtualizedNetCert(InputBuffer buffer) throws QSException
VirtualizedNetCert
from its
serialize
d form.
Method Detail |
public NodeId get_virtual_node_id()
public NodeId get_contact_id()
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
buffer
- the output buffer to add the object topublic String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |