Jumpi v1.2.0

org.jumpi
Interface Status

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

public interface Status

The Status interface represents an 'enum' like list of possible states for an Handle. For both send and receive operations, the same possible status transitions.

Initially all Handles are in STATUS_TRANSIENT. From this initial status, Handles may become either successfully completed STATUS_SUCCESS, or fail STATUS_FAILURE or become cancelled STATUS_CANCELLED.


Field Summary
static int STATUS_CANCELLED
          Cancellation of a send or receive operation.
static int STATUS_FAILURE
          Failure of a send or receive operation.
static int STATUS_SUCCESS
          Successful completion for either send or receive operation.
static int STATUS_TRANSIENT
          Indeterminate state of a send or receive operation, neither successfull completed, failed or cancellation.
 

Field Detail

STATUS_SUCCESS

public static final int STATUS_SUCCESS
Successful completion for either send or receive operation.

See Also:
Constant Field Values

STATUS_FAILURE

public static final int STATUS_FAILURE
Failure of a send or receive operation.

See Also:
Constant Field Values

STATUS_CANCELLED

public static final int STATUS_CANCELLED
Cancellation of a send or receive operation.

See Also:
Constant Field Values

STATUS_TRANSIENT

public static final int STATUS_TRANSIENT
Indeterminate state of a send or receive operation, neither successfull completed, failed or cancellation.

See Also:
Constant Field Values

Jumpi v1.2.0

Copyright © 2003, Peter Jonathan Klauser.