com.caucho.ejb.burlap
Class BurlapWriter

java.lang.Object
  extended by com.caucho.hessian.io.AbstractHessianOutput
      extended by com.caucho.burlap.io.AbstractBurlapOutput
          extended by com.caucho.burlap.io.BurlapOutput
              extended by com.caucho.ejb.burlap.BurlapWriter

public class BurlapWriter
extends BurlapOutput


Field Summary
 
Fields inherited from class com.caucho.burlap.io.BurlapOutput
os
 
Fields inherited from class com.caucho.hessian.io.AbstractHessianOutput
_serializerFactory
 
Constructor Summary
BurlapWriter()
          Creates an uninitialized Burlap output stream.
BurlapWriter(java.io.OutputStream os)
          Creates a new Burlap output stream, initialized with an underlying output stream.
BurlapWriter(ReadStream is, java.io.OutputStream os)
          Creates a new Burlap output stream, initialized with an underlying output stream.
 
Method Summary
 void close()
           
 BurlapInput doCall()
           
 void init(java.io.OutputStream os)
          Initializes the output
 void setRemoteResolver(HessianRemoteResolver resolver)
           
 
Methods inherited from class com.caucho.burlap.io.BurlapOutput
addRef, call, completeCall, completeReply, print, print, print, print, print, printDate, printString, printString, printString, removeRef, replaceRef, startCall, startCall, startReply, writeBoolean, writeByteBufferEnd, writeByteBufferPart, writeByteBufferStart, writeBytes, writeBytes, writeDouble, writeFault, writeHeader, writeInt, writeListBegin, writeListEnd, writeLong, writeMapBegin, writeMapEnd, writeMethod, writeNull, writeObject, writeRef, writeRemote, writeString, writeString, writeUTCDate
 
Methods inherited from class com.caucho.burlap.io.AbstractBurlapOutput
startCall
 
Methods inherited from class com.caucho.hessian.io.AbstractHessianOutput
findSerializerFactory, flush, getSerializerFactory, resetReferences, setSerializerFactory, writeClassFieldLength, writeObjectBegin, writeObjectEnd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BurlapWriter

public BurlapWriter(ReadStream is,
                    java.io.OutputStream os)
Creates a new Burlap output stream, initialized with an underlying output stream.

Parameters:
os - the underlying output stream.

BurlapWriter

public BurlapWriter(java.io.OutputStream os)
Creates a new Burlap output stream, initialized with an underlying output stream.

Parameters:
os - the underlying output stream.

BurlapWriter

public BurlapWriter()
Creates an uninitialized Burlap output stream.

Method Detail

init

public void init(java.io.OutputStream os)
Initializes the output

Overrides:
init in class BurlapOutput

setRemoteResolver

public void setRemoteResolver(HessianRemoteResolver resolver)

doCall

public BurlapInput doCall()
                   throws java.lang.Throwable
Throws:
java.lang.Throwable

close

public void close()
Overrides:
close in class AbstractHessianOutput