Package org.exbin.xbup.core.remote
Interface XBCallHandler
-
public interface XBCallHandlerXBUP RPC procedure call handler interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute()Performs execution of the handler.XBInputgetParametersInput()Returns XBUP input stream handler for parameters.XBOutputgetResultOutput()Returns XBUP output stream handler for result.
-
-
-
Method Detail
-
getParametersInput
@Nonnull XBInput getParametersInput() throws XBProcessingException, java.io.IOException
Returns XBUP input stream handler for parameters.- Returns:
- input
- Throws:
java.io.IOException- if input/output errorXBProcessingException
-
getResultOutput
@Nonnull XBOutput getResultOutput() throws XBProcessingException, java.io.IOException
Returns XBUP output stream handler for result.- Returns:
- output
- Throws:
java.io.IOException- if input/output errorXBProcessingException
-
execute
void execute() throws XBProcessingException, java.io.IOExceptionPerforms execution of the handler.- Throws:
java.io.IOException- if input/output errorXBProcessingException
-
-