com.exadel.flamingo.javafx.hessian.io
Class FlamingoHessian2Output

java.lang.Object
  extended by com.caucho.hessian.io.AbstractHessianOutput
      extended by com.caucho.hessian.io.Hessian2Output
          extended by com.exadel.flamingo.javafx.hessian.io.FlamingoHessian2Output
All Implemented Interfaces:
com.caucho.hessian.io.Hessian2Constants

public class FlamingoHessian2Output
extends com.caucho.hessian.io.Hessian2Output

Contains fixs for some bugs in Hessian library. Please check new release of Hessian, if they already contains fixs.

Author:
apleskatsevich

Field Summary
protected  java.io.OutputStream outputStream
           
 
Fields inherited from class com.caucho.hessian.io.Hessian2Output
_os
 
Fields inherited from class com.caucho.hessian.io.AbstractHessianOutput
_serializerFactory
 
Fields inherited from interface com.caucho.hessian.io.Hessian2Constants
BYTES_DIRECT, BYTES_DIRECT_MAX, DOUBLE_BYTE, DOUBLE_FLOAT, DOUBLE_ONE, DOUBLE_SHORT, DOUBLE_ZERO, INT_BYTE_MAX, INT_BYTE_MIN, INT_BYTE_ZERO, INT_DIRECT_MAX, INT_DIRECT_MIN, INT_SHORT_MAX, INT_SHORT_MIN, INT_SHORT_ZERO, INT_ZERO, LENGTH_BYTE, LIST_FIXED, LONG_BYTE_MAX, LONG_BYTE_MIN, LONG_BYTE_ZERO, LONG_DIRECT_MAX, LONG_DIRECT_MIN, LONG_INT, LONG_SHORT_MAX, LONG_SHORT_MIN, LONG_SHORT_ZERO, LONG_ZERO, REF_BYTE, REF_SHORT, STRING_DIRECT, STRING_DIRECT_MAX, TYPE_REF
 
Constructor Summary
FlamingoHessian2Output(java.io.OutputStream os)
          Constructor.
 
Method Summary
 java.io.OutputStream getOutputStream()
          Returns current output stream.
 void startCall()
          Writes the call tag.
 
Methods inherited from class com.caucho.hessian.io.Hessian2Output
addRef, call, close, completeCall, completeEnvelope, completeMessage, completeReply, flush, getBytesOutputStream, isCloseStreamOnClose, printLenString, printString, printString, printString, removeRef, replaceRef, resetReferences, setCloseStreamOnClose, startCall, startEnvelope, startMessage, startReply, startStreamingCall, startStreamingReply, writeBoolean, writeByteBufferEnd, writeByteBufferPart, writeByteBufferStart, writeBytes, writeBytes, writeClassFieldLength, writeDouble, writeFault, writeHeader, writeInt, writeListBegin, writeListEnd, writeLong, writeMapBegin, writeMapEnd, writeMethod, writeNull, writeObject, writeObjectBegin, writeObjectEnd, writeRef, writeRemote, writeStreamingObject, writeString, writeString, writeUTCDate
 
Methods inherited from class com.caucho.hessian.io.AbstractHessianOutput
findSerializerFactory, getSerializerFactory, init, setSerializerFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

outputStream

protected java.io.OutputStream outputStream
Constructor Detail

FlamingoHessian2Output

public FlamingoHessian2Output(java.io.OutputStream os)
Constructor.

Parameters:
os - OutputStream
Method Detail

getOutputStream

public java.io.OutputStream getOutputStream()
Returns current output stream.

Returns:
Current output stream

startCall

public void startCall()
               throws java.io.IOException
Writes the call tag. This would be followed by the headers and the method tag.
 c major minor
 

Overrides:
startCall in class com.caucho.hessian.io.Hessian2Output
Throws:
java.io.IOException - if error occur


Copyright © 2008 Exadel, Inc.. All Rights Reserved.