com.caucho.burlap.io
Class AbstractBurlapOutput

java.lang.Object
  extended by com.caucho.hessian.io.AbstractHessianOutput
      extended by com.caucho.burlap.io.AbstractBurlapOutput
Direct Known Subclasses:
BurlapOutput

public abstract class AbstractBurlapOutput
extends AbstractHessianOutput

Abstract output stream for Burlap requests.

 OutputStream os = ...; // from http connection
 AbstractOutput out = new BurlapSerializerOutput(os);
 String value;

 out.startCall("hello");  // start hello call
 out.writeString("arg1"); // write a string argument
 out.completeCall();      // complete the call
 


Field Summary
 
Fields inherited from class com.caucho.hessian.io.AbstractHessianOutput
_serializerFactory
 
Constructor Summary
AbstractBurlapOutput()
           
 
Method Summary
 void startCall(java.lang.String method, int length)
          Starts the method call:
 
Methods inherited from class com.caucho.hessian.io.AbstractHessianOutput
addRef, call, close, completeCall, completeReply, findSerializerFactory, flush, getRef, getSerializerFactory, init, removeRef, replaceRef, resetReferences, setSerializerFactory, setUnshared, startCall, startReply, writeBoolean, writeByteBufferEnd, writeByteBufferPart, writeByteBufferStart, writeBytes, writeBytes, writeByteStream, writeClassFieldLength, writeDouble, writeFault, writeHeader, writeInt, writeListBegin, writeListEnd, writeLong, writeMapBegin, writeMapEnd, writeMethod, writeNull, writeObject, writeObjectBegin, writeObjectEnd, writeRef, writeReply, writeString, writeString, writeUTCDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBurlapOutput

public AbstractBurlapOutput()
Method Detail

startCall

public void startCall(java.lang.String method,
                      int length)
               throws java.io.IOException
Description copied from class: AbstractHessianOutput
Starts the method call:
 C string int
 

Specified by:
startCall in class AbstractHessianOutput
Parameters:
method - the method name to call.
Throws:
java.io.IOException