Package com.devebot.opflow
Class OpflowRpcRequest
java.lang.Object
com.devebot.opflow.OpflowRpcRequest
- All Implemented Interfaces:
OpflowTimeout.Timeoutable,Iterator
public class OpflowRpcRequest extends Object implements Iterator, OpflowTimeout.Timeoutable
- Author:
- drupalex
-
Constructor Summary
Constructors Constructor Description OpflowRpcRequest(Map<String,Object> options, OpflowTimeout.Listener completeListener) -
Method Summary
Modifier and Type Method Description OpflowRpcResultextractResult()OpflowRpcResultextractResult(boolean includeProgress)StringgetRequestId()StringgetRoutineId()static StringgetStatus(OpflowMessage message)longgetTimeout()longgetTimestamp()booleanhasNext()List<OpflowMessage>iterateResult()OpflowMessagenext()voidpush(OpflowMessage message)voidraiseTimeout()
-
Constructor Details
-
Method Details
-
getRequestId
-
getRoutineId
-
getTimeout
public long getTimeout()- Specified by:
getTimeoutin interfaceOpflowTimeout.Timeoutable
-
getTimestamp
public long getTimestamp()- Specified by:
getTimestampin interfaceOpflowTimeout.Timeoutable
-
raiseTimeout
public void raiseTimeout()- Specified by:
raiseTimeoutin interfaceOpflowTimeout.Timeoutable
-
hasNext
public boolean hasNext() -
next
-
push
-
iterateResult
-
extractResult
-
extractResult
-
getStatus
-