|
Jumpi v1.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The service provider Status interface provides additional possibilities for a Handle's STATUS_TRANSIENT Status.
Jumpi client applications use Handle.getStatusCode() to return either STATUS_SUCCESS, STATUS_TRANSIENT, STATUS_FAILURE or STATUS_CANCELLED. The transient status, which is blocking since it indicates that the status is not a final status can be further broken down internally. This internal information is not important for a Jumpi client application , but can be used by an implementation keep better track of ongoing operations.
Implementations are free to invent new status codes which are not already used by the org.jumpi.Status or org.jumpi.spi.Status interfaces. All Status codes which are not STATUS_SUCCESS, STATUS_FAILURE, STATUS_CANCELLED are mapped to STATUS_TRANSIENT by the Handle.getStatusCode() method.
Handle.getStatusCode()
,
Handle.getStatus()
,
Handle.setStatus(int)
Field Summary | |
static int |
STATUS_RECEIVING
The Handle's operation is currently actively receiving. |
static int |
STATUS_SENDING
The Handle's operation is currently actively sending. |
Fields inherited from interface org.jumpi.Status |
STATUS_CANCELLED, STATUS_FAILURE, STATUS_SUCCESS, STATUS_TRANSIENT |
Field Detail |
public static final int STATUS_RECEIVING
public static final int STATUS_SENDING
|
Jumpi v1.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |