org.xmlBlaster.client.protocol.http.common
Class ObjectInputStreamMicro
java.lang.Object
org.xmlBlaster.client.protocol.http.common.ObjectInputStreamMicro
- All Implemented Interfaces:
- I_ObjectStream
public class ObjectInputStreamMicro
- extends java.lang.Object
- implements I_ObjectStream
ObjectInputStreamMicro
- Author:
- Michele Laghi
Field Summary |
private java.io.DataInputStream |
in
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
private java.io.DataInputStream in
ObjectInputStreamMicro
public ObjectInputStreamMicro(java.io.InputStream inStream)
throws java.io.IOException
- Throws:
java.io.IOException
readHashtable
private java.util.Hashtable readHashtable()
throws java.io.IOException
- Throws:
java.io.IOException
readVector
private java.util.Vector readVector()
throws java.io.IOException
- Throws:
java.io.IOException
readObject
public java.lang.Object readObject()
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
readMessage
public static MsgHolder readMessage(byte[] buffer)
throws java.io.IOException
- Parameters:
buffer
- the buffer from which to read the message
- Returns:
- the MsgHolder object.
If one of the parameters was null or empty before serialization, it
will be null here after reading it from the buffer.
- Throws:
java.io.IOException
Copyright © 1999-2014 The xmlBlaster.org contributers.