Jumpi v1.2.0

org.jumpi.spi
Interface Status

All Superinterfaces:
Status
All Known Implementing Classes:
HandleImpl, OrderingController, SequentialController, StatelessController

public interface Status
extends Status

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.

See Also:
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

STATUS_RECEIVING

public static final int STATUS_RECEIVING
The Handle's operation is currently actively receiving.

See Also:
Constant Field Values

STATUS_SENDING

public static final int STATUS_SENDING
The Handle's operation is currently actively sending.

See Also:
Constant Field Values

Jumpi v1.2.0

Copyright © 2003, Peter Jonathan Klauser.