xmlBlaster 2.2.0 API

org.xmlBlaster.client.protocol.http.common
Class ObjectInputStreamMicro

java.lang.Object
  extended by 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
           
 
Fields inherited from interface org.xmlBlaster.client.protocol.http.common.I_ObjectStream
HASHTABLE, HASHTABLE_ARR, STRING, VECTOR
 
Constructor Summary
ObjectInputStreamMicro(java.io.InputStream inStream)
           
 
Method Summary
private  java.util.Hashtable readHashtable()
           
static MsgHolder readMessage(byte[] buffer)
           
 java.lang.Object readObject()
           
private  java.util.Vector readVector()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

private java.io.DataInputStream in
Constructor Detail

ObjectInputStreamMicro

public ObjectInputStreamMicro(java.io.InputStream inStream)
                       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

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

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.