Package com.caucho.burlap.io
Class AbstractBurlapOutput
- java.lang.Object
-
- com.caucho.hessian.io.AbstractHessianOutput
-
- 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
Constructors Constructor Description AbstractBurlapOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 classAbstractHessianOutput
- Parameters:
method
- the method name to call.- Throws:
java.io.IOException
-
-