Package org.exbin.xbup.core.remote
Interface XBCallEx
-
@ParametersAreNonnullByDefault public interface XBCallExXBUP RPC procedure call interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XBProcedureResultTypecall(XBInput parameters)Invocates procedure.voidexception(XBOutput data)Invocates if procedure call failed with exception.voidresult(XBOutput result)Executes if call was invoked properly.
-
-
-
Method Detail
-
call
@Nonnull XBProcedureResultType call(XBInput parameters) throws XBProcessingException, java.io.IOException
Invocates procedure.- Parameters:
parameters- procedure parameters data- Returns:
- result type
- Throws:
java.io.IOException- if input/output errorXBProcessingException
-
result
void result(XBOutput result) throws XBProcessingException, java.io.IOException
Executes if call was invoked properly.- Parameters:
result- handler for procedure result data- Throws:
java.io.IOException- if input/output errorXBProcessingException
-
exception
void exception(XBOutput data) throws XBProcessingException, java.io.IOException
Invocates if procedure call failed with exception.- Parameters:
data- exception data- Throws:
java.io.IOException- if input/output errorXBProcessingException
-
-