|
Sun Adapter for Websphere MQ API | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGMO
This interface describes the structure of the 'GMO' portion of the
WebSphere MQ eWay OTD used in Java Collaborations. It is the OTD's
analogue to the MQGetMessageOptions
data structure.
The eGate Java Collaboration Editor does not permit the direct manipulation of class fields, thus this interface defines accessors and mutators with which to affect MQGetMessageOptions fields.
Method Summary | |
---|---|
java.lang.String |
getResolvedQueueName()
Provide access to the content of the output field MQGetMessageOptions.resolvedQueueName . |
char |
getSegmentation()
Provides access to the content of the output field MQGetMessageOptions.segmentation . |
char |
getSegmentationStatus()
Provides access to the content of the output field MQGetMessageOptions.segmentation . |
int |
getWaitValue()
Retrieve the value of the MQGetMessageOptions.waitInterval
variable. |
boolean |
isMessageInGroup()
Determines whether or not the output field MQGetMessageOptions.groupStatus
specifies the retrieved message is in a group. |
boolean |
isMessageLastInGroup()
Determines whether or not the output field {@link com.ibm.mq.MQGetMessageOptions#groupStatus) indicates that the retrieved message is in a group and it is the last message in the group. |
void |
matchOptionsClearAll()
Clear all match options set so far and set match options to MQMO_NONE. |
void |
optionsClearAll()
Clear all option flags set so far and reset options to MQGMO_NONE. |
void |
setMQGMO_ACCEPT_TRUNCATED_MSG(boolean bSet)
Set or unset the MGC.MQGMO_ACCEPT_TRUNCATED_MSG option. |
void |
setMQGMO_ALL_MSGS_AVAILABLE(boolean bSet)
Set or unset the MGC.MQGMO_ALL_MSGS_AVAILABLE option. |
void |
setMQGMO_ALL_SEGMENTS_AVAILABLE(boolean bSet)
Set or unset the MGC.MQGMO_ALL_SEGMENTS_AVAILABLE option. |
void |
setMQGMO_BROWSE_FIRST(boolean bSet)
Set or unset the MGC.MQGMO_BROWSE_FIRST option. |
void |
setMQGMO_BROWSE_MSG_UNDER_CURSOR(boolean bSet)
Set or unset the MGC.MQGMO_BROWSE_MSG_UNDER_CURSOR option. |
void |
setMQGMO_BROWSE_NEXT(boolean bSet)
Set or unset the MGC.MQGMO_BROWSE_NEXT option. |
void |
setMQGMO_COMPLETE_MSG(boolean bSet)
Set or unset the MGC.MQGMO_COMPLETE_MSG option. |
void |
setMQGMO_CONVERT(boolean bSet)
Set or unset the MGC.MQGMO_CONVERT option. |
void |
setMQGMO_FAIL_IF_QUIESCING(boolean bSet)
Set or unset the MGC.MQGMO_FAIL_IF_QUIESCING option. |
void |
setMQGMO_LOCK(boolean bSet)
Set or unset the MGC.MQGMO_LOCK option. |
void |
setMQGMO_LOGICAL_ORDER(boolean bSet)
Set or unset the MGC.MQGMO_LOGICAL_ORDER option. |
void |
setMQGMO_MARK_SKIP_BACKOUT(boolean bSet)
Set or unset the MGC.MQGMO_MARK_SKIP_BACKOUT option. |
void |
setMQGMO_MSG_UNDER_CURSOR(boolean bSet)
Set or unset the MGC.MQGMO_MSG_UNDER_CURSOR option. |
void |
setMQGMO_NO_SYNCPOINT(boolean bSet)
Set or unset the MGC.MQGMO_NO_SYNCPOINT option. |
void |
setMQGMO_NO_WAIT(boolean bSet)
Set or unset the MGC.MQGMO_NO_WAIT option. |
void |
setMQGMO_NONE(boolean bSet)
Set or unset the MGC.MQGMO_NONE option. |
void |
setMQGMO_SYNCPOINT_IF_PERSISTENT(boolean bSet)
Set or unset the MGC.MQGMO_SYNCPOINT_IF_PERSISTENT option. |
void |
setMQGMO_SYNCPOINT(boolean bSet)
Set or unset the MGC.MQGMO_SYNCPOINT option. |
void |
setMQGMO_UNLOCK(boolean bSet)
Set or unset the MGC.MQGMO_UNLOCK option. |
void |
setMQGMO_WAIT(boolean bSet)
Set or unset the MGC.MQGMO_WAIT option. |
void |
setMQMO_MATCH_CORREL_ID(boolean bSet)
Set or unset the MGC.MQMO_MATCH_CORREL_ID option. |
void |
setMQMO_MATCH_GROUP_ID(boolean bSet)
Set or unset the MGC.MQMO_MATCH_GROUP_ID option. |
void |
setMQMO_MATCH_MSG_ID(boolean bSet)
Set or unset the MGC.MQMO_MATCH_MSG_ID option. |
void |
setMQMO_MATCH_MSG_SEQ_NUMBER(boolean bSet)
Set or unset the MGC.MQMO_MATCH_MSG_SEQ_NUMBER option. |
void |
setMQMO_NONE(boolean bSet)
Set or unset the MGC.MQMO_NONE option. |
void |
setUnlimitedWait()
Specify an unlimited time for a get call to wait for a suitable message to arrive. |
void |
setWaitValue(int ms)
Affects the MQGetMessageOptions.waitInterval variable. |
Method Detail |
---|
void setWaitValue(int ms)
MQGetMessageOptions.waitInterval
variable.
The maximum time (in milliseconds) that an MQQueue.get call waits for a
suitable message to arrive (used in conjunction with MQC.MQGMO_WAIT). A
value of MQC.MQWI_UNLIMITED indicates that an unlimited wait is
required.
ms
- The number of milliseconds for a get call to wait.MQGetMessageOptions.waitInterval
int getWaitValue()
MQGetMessageOptions.waitInterval
variable.
int
- Returns the variable value.
void setUnlimitedWait()
MQGetMessageOptions.waitInterval
void optionsClearAll()
MQGetMessageOptions.options
void matchOptionsClearAll()
MQGetMessageOptions.matchOptions
void setMQGMO_NONE(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_WAIT(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_NO_WAIT(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_SYNCPOINT(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_NO_SYNCPOINT(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_BROWSE_FIRST(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_BROWSE_NEXT(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_BROWSE_MSG_UNDER_CURSOR(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_LOCK(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_UNLOCK(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_ACCEPT_TRUNCATED_MSG(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_FAIL_IF_QUIESCING(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_CONVERT(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_SYNCPOINT_IF_PERSISTENT(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_MARK_SKIP_BACKOUT(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_MSG_UNDER_CURSOR(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_LOGICAL_ORDER(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_COMPLETE_MSG(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_ALL_MSGS_AVAILABLE(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQGMO_ALL_SEGMENTS_AVAILABLE(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.options
void setMQMO_MATCH_MSG_ID(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.matchOptions
void setMQMO_MATCH_CORREL_ID(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.matchOptions
void setMQMO_MATCH_GROUP_ID(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.matchOptions
void setMQMO_MATCH_MSG_SEQ_NUMBER(boolean bSet)
bSet
- true to set, false to unset.MQGetMessageOptions.matchOptions
void setMQMO_NONE(boolean bSet)
bSet
- true to set, false to unset.- Throws:
- None.
java.lang.String getResolvedQueueName()
MQGetMessageOptions.resolvedQueueName
.
String
- Returns the content of the output field.
char getSegmentation()
MQGetMessageOptions.segmentation
.
char
- Returns the content of the output field.
char getSegmentationStatus()
MQGetMessageOptions.segmentation
.
char
- Returns the content of the output field.
boolean isMessageInGroup()
MQGetMessageOptions.groupStatus
specifies the retrieved message is in a group.
Boolean
- Returns true if the output field is in the group; false otherwise.
com.ibm.mq.MQC.MQGS_NOT_IN_GROUP
boolean isMessageLastInGroup()
Boolean
- Returns true if the message is in the group, and it is the
last message in the group; false indicates the
message is in the group, but is not the last message in the
group.
|
Sun Adapter for Websphere MQ API | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |