Class AbstractBurlapOutput

  extended by
      extended by
Direct Known Subclasses:

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
Constructor Summary
Method Summary
 void startCall(java.lang.String method, int length)
          Starts the method call:
Methods inherited from class
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


public AbstractBurlapOutput()
Method Detail


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

Specified by:
startCall in class AbstractHessianOutput
method - the method name to call.