|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
All ipc services must implement at least these methods.
org.exolab.core.ipc.TcpService,
org.exolab.core.ipc.Client,
org.exolab.core.ipc.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
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()
toString in class java.lang.ObjectString - The unique string id
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||