xmlBlaster 2.2.0 client 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
 
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
static MsgHolder readMessage(byte[] buffer)
           
 java.lang.Object readObject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectInputStreamMicro

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

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 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.