|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides basic communication capability. Entity provides capability to write an object that will be read by some other entity. Entity provides capability to read an object and return it. The writing and reading take place over networked streams and so there will be issues regarding reads and writes. The order in which these read/writes take place is incredibly important, but is outside of the control of this interface.
Method Summary | |
java.lang.Object |
readObject()
Blocks for an object to be read from remote entity. |
boolean |
writeObject(java.lang.Object o)
Writes an object to be retrieved by a remote entity. |
Method Detail |
public boolean writeObject(java.lang.Object o)
o
- Object to be written.public java.lang.Object readObject()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |