Class Requestor.Status
- java.lang.Object
-
- org.objectweb.joram.client.jms.connection.Requestor.Status
-
-
Field Summary
Fields Modifier and Type Field Description static intCLOSEstatic intDONEThe requestor is either completed (by the demultiplxer thread) or aborted (by another client thread or a timeout).static intINITThe requestor is free: it can be called by a client thread.private static String[]namesstatic intRUNThe requestor is busy: the client thread is waiting.static intSTOP
-
Constructor Summary
Constructors Modifier Constructor Description privateStatus()
-
-
-
Field Detail
-
INIT
public static final int INIT
The requestor is free: it can be called by a client thread.- See Also:
- Constant Field Values
-
RUN
public static final int RUN
The requestor is busy: the client thread is waiting. Two threads can make a call: 1- the demultiplexer thread can call replyReceived and replyAborted. 2- another client thread can abort the request.- See Also:
- Constant Field Values
-
DONE
public static final int DONE
The requestor is either completed (by the demultiplxer thread) or aborted (by another client thread or a timeout). This state is transitional. It enables the requesting client thread to finalize its request.- See Also:
- Constant Field Values
-
CLOSE
public static final int CLOSE
- See Also:
- Constant Field Values
-
STOP
public static final int STOP
- See Also:
- Constant Field Values
-
names
private static final String[] names
-
-
Method Detail
-
toString
public static String toString(int status)
-
-