Package org.exbin.xbup.core.remote
Interface XBCallEx
-
@ParametersAreNonnullByDefault public interface XBCallEx
XBUP RPC procedure call interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XBProcedureResultType
call(XBInput parameters)
Invocates procedure.void
exception(XBOutput data)
Invocates if procedure call failed with exception.void
result(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
-
-