Package com.tick42.glue.internal.agm
Class AgmInvocationResponse
java.lang.Object
com.tick42.glue.internal.agm.AgmInvocationResponse
- All Implemented Interfaces:
MethodInvocationResponse<Map<String,Object>>
public class AgmInvocationResponse extends Object implements MethodInvocationResponse<Map<String,Object>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tick42.glue.core.interop.invoke.MethodInvocationResponse
MethodInvocationResponse.Status -
Method Summary
Modifier and Type Method Description static AgmInvocationResponsefailure(ServerMethod method, Throwable error)ServerMethodgetMethod()Optional<Map<String,Object>>getReturned()MethodInvocationResponse.StatusgetStatus()static AgmInvocationResponsestarted(ServerMethod method)static AgmInvocationResponsesuccess(ServerMethod method, Map<String,Object> returned)static AgmInvocationResponsetimeout(ServerMethod method, TimeoutException error)
-
Method Details
-
success
-
failure
-
timeout
-
started
-
getMethod
- Specified by:
getMethodin interfaceMethodInvocationResponse<Map<String,Object>>
-
getReturned
- Specified by:
getReturnedin interfaceMethodInvocationResponse<Map<String,Object>>
-
getStatus
- Specified by:
getStatusin interfaceMethodInvocationResponse<Map<String,Object>>
-