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
|
Method Summary |
void |
startCall(String method,
int length)
Starts the method call:
C string int
|
| 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 |
AbstractBurlapOutput
public AbstractBurlapOutput()
startCall
public void startCall(String method,
int length)
throws 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:
IOException
Copyright © 2013. All Rights Reserved.