|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionIF
A connection between two nodes.
Only Serializable
object can be sent through ConnectionIF object.
Method Summary | |
---|---|
void |
close()
Close the connection |
NodeInfo |
getRemoteNodeInfo()
|
boolean |
isBroken()
Indicate if the connection is no longer capable to send message and receive messages |
java.io.Serializable |
receive()
Deprecated. not used |
void |
send(java.io.Serializable o)
Used to send a serializable object through this connection |
Method Detail |
---|
void close() throws java.io.IOException
java.io.IOException
void send(java.io.Serializable o) throws java.io.IOException
o
-
java.io.IOException
java.io.Serializable receive() throws java.io.IOException
java.io.IOException
NodeInfo getRemoteNodeInfo()
boolean isBroken()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |