|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IpcIfc
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 |
---|
void close() throws java.io.IOException
java.io.IOException
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.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.java.lang.String toString()
toString
in class java.lang.Object
String
- The unique string id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |