|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.remote.ByteSerializer
UniversalSerializer
public final class ByteSerializer
The ByteSerializer converts an object state into a byte stream in such a way that
the byte stream can be converted back into a copy of the object. For simple types, the conversion
is not VM dependent, e.g. serialization can be done with jdk 1.3 and deserialization can be done
with jdk 1.5.
All complex types are serialized via VM serialization mode.
ISerializer| Constructor Summary | |
|---|---|
ByteSerializer()
Deprecated. Creates a new instance of ByteSerializer. |
|
| Method Summary | |
|---|---|
java.lang.Object |
read(java.io.DataInputStream pIn)
Deprecated. Reads in an object from a serialized DataInputStream. |
void |
write(java.io.DataOutputStream pOut,
java.lang.Object pObject)
Deprecated. Writes a serialized object to a stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteSerializer()
ByteSerializer.
| Method Detail |
|---|
public final void write(java.io.DataOutputStream pOut,
java.lang.Object pObject)
throws java.lang.Exception
write in interface ISerializerpOut - output stream for the objectpObject - serializable object
java.lang.Exception - if serialization fails
public final java.lang.Object read(java.io.DataInputStream pIn)
throws java.lang.Exception
DataInputStream.
read in interface ISerializerpIn - serialized DataInputStream
java.lang.Exception - if deserialization fails or if the object type is TYPE_OBJECT and the object cannot be read
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||