|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
All ipc services must implement at least these methods.
TcpService,
Client,
TcpServerService| Method Summary | |
void |
close()
Close the ipc connection. |
java.lang.Object |
receive()
An object is received. |
void |
send(java.io.Serializable ob)
Send the specified object. |
java.lang.String |
toString()
Retrieve a unique id for this connection. |
| Method Detail |
public void close()
throws java.io.IOException
java.io.IOException
public void send(java.io.Serializable ob)
throws java.io.IOException
ob - The object to send. Must be serializable.
java.io.IOException - If the data fails to write to the output stream.
public java.lang.Object receive()
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException - If the data cannot be received.
java.lang.ClassNotFoundException - If the class cannot be re-constituted.public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||