|
jremote jbase5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JBaseObjectReader
Deserializes objects sent from the jsqld server. Clients of classes implementing this interface use readObject method to read deserialized objects. This interface is simillar to java.io.ObjectInputStream. It does not extend java.io.ObjectInputStream because that would require handling of the original Java'a serialization protocol on the jsqld server.
Method Summary | |
---|---|
void |
close()
|
byte[] |
readBytes()
|
int |
readInt()
Reads a 32 bits integer from the underlying InputStream. |
java.lang.Object |
readObject()
Reads/deserializes next object. |
IByteObject |
readObject(IByteObject o)
Reads/deserializes next byte object, a new IByteObject should be created and returned if a null argument is passed in. |
JBaseSerializable |
readObject(JBaseSerializable o)
Reads/deserializes next object, a JBaseSerializable object should be created and returned if a null argument is passed in. |
JBaseSerializable |
readRootObject()
Deserializes a root object. |
java.lang.String |
readString()
Reads a java.lang.String. |
Method Detail |
---|
java.lang.Object readObject() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
JBaseSerializable readObject(JBaseSerializable o) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
IByteObject readObject(IByteObject o) throws java.io.IOException
java.io.IOException
int readInt() throws java.io.IOException
java.io.IOException
java.lang.String readString() throws java.io.IOException
java.io.IOException
byte[] readBytes() throws java.io.IOException
java.io.IOException
JBaseSerializable readRootObject() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
void close() throws java.io.IOException
java.io.IOException
|
jremote jbase5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |