|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISerializer
The ISerializer
interface defines standard methods for serialization
and deserialization of objects to and from streams. An implementation of ISerializer
will be needed for connections to the remote server.
An ISerializer
implementation can encrypt the communication between client
and server or can optimize the traffic.
Method Summary | |
---|---|
Object |
read(DataInputStream pIn)
Reads in a serialized object from a stream. |
void |
write(DataOutputStream pOut,
Object pObject)
Writes a serialized object to a stream. |
Method Detail |
---|
Object read(DataInputStream pIn) throws Exception
pIn
- stream with serialized content
Exception
- if deserialization failsvoid write(DataOutputStream pOut, Object pObject) throws Exception
pOut
- output stream for the objectpObject
- serializable object
Exception
- if serialization fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |