|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.jmscts.core.AckTypes
Helper class used to indicate what message acknowledgement types to run a particular test case against
AckType,
SessionTestCase,
SessionTestRunner| Field Summary | |
static AckTypes |
ALL
All session message acknowledgement types |
static AckType |
AUTO_ACKNOWLEDGE
Non-transacted session, session automatically acknowledges messages |
static AckType |
CLIENT_ACKNOWLEDGE
Non-transacted session, client ackwnowledges messages |
static AckType |
DUPS_OK_ACKNOWLEDGE
Non-transacted session, messages are lazily acknowledged |
static AckTypes |
NON_TRANSACTIONAL
Non transacted sessions |
static AckType |
TRANSACTED
Transacted session |
static AckTypes |
TRANSACTIONAL
Transacted sessions |
| Constructor Summary | |
AckTypes(AckType type)
Construct a new instance to test against a single acknowledgement type |
|
AckTypes(AckType[] types)
Construct a new instance to test against a set of message acknowledgement types |
|
| Method Summary | |
static AckTypes |
fromString(java.lang.String[] types)
Helper to convert a set of stringified acknowledgement types to a AckTypes instance |
AckType[] |
getTypes()
Returns the list of message acknowledgement types to test against |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final AckType TRANSACTED
public static final AckType AUTO_ACKNOWLEDGE
public static final AckType CLIENT_ACKNOWLEDGE
public static final AckType DUPS_OK_ACKNOWLEDGE
public static final AckTypes ALL
public static final AckTypes NON_TRANSACTIONAL
public static final AckTypes TRANSACTIONAL
| Constructor Detail |
public AckTypes(AckType[] types)
types - a list of message acknowledgement typespublic AckTypes(AckType type)
type - the message acknowledgement type| Method Detail |
public AckType[] getTypes()
public static AckTypes fromString(java.lang.String[] types)
AckTypes instancetypes - the acknowledgement typestypes,
or null if types is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||