Package org.objectweb.joram.client.jms
Class Session.SessionMode
- java.lang.Object
-
- org.objectweb.joram.client.jms.Session.SessionMode
-
-
Field Summary
Fields Modifier and Type Field Description static intAPP_SERVERThe session is used by an application server.static intLISTENERThe session is used to asynchronously listen to messages.private static String[]namesstatic intNONEThe session is still not used.static intRECEIVEThe session is used to synchronously receive messages.
-
Constructor Summary
Constructors Modifier Constructor Description privateSessionMode()
-
-
-
Field Detail
-
NONE
public static final int NONE
The session is still not used. This is the initial mode.- See Also:
- Constant Field Values
-
RECEIVE
public static final int RECEIVE
The session is used to synchronously receive messages.- See Also:
- Constant Field Values
-
LISTENER
public static final int LISTENER
The session is used to asynchronously listen to messages.- See Also:
- Constant Field Values
-
APP_SERVER
public static final int APP_SERVER
The session is used by an application server.- See Also:
- Constant Field Values
-
names
private static final String[] names
-
-
Method Detail
-
toString
public static String toString(int status)
-
-