public interface ApplicationProxy
Remote services can be called using their name.
| Modifier and Type | Method and Description |
|---|---|
<TResult> java.util.concurrent.Future<TResult> |
get(java.lang.Class<TResult> manifest,
java.lang.String command,
int[] expectedStatus)
If remote service doesn't require any arguments it can be called using get method.
|
<TArgument,TResult> |
post(java.lang.Class<TResult> manifest,
java.lang.String command,
TArgument argument,
int[] expectedStatus)
When remote service require an argument message with serialized payload will be sent.
|
<TResult> java.util.concurrent.Future<TResult> get(java.lang.Class<TResult> manifest,
java.lang.String command,
int[] expectedStatus)
manifest - result typecommand - remote service nameexpectedStatus - expected status from remote call<TArgument,TResult> java.util.concurrent.Future<TResult> post(java.lang.Class<TResult> manifest,
java.lang.String command,
TArgument argument,
int[] expectedStatus)
manifest - result typecommand - remote service nameargument - remote service argumentexpectedStatus - expected status from remote call