Class 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
     
    • 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