|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mqe.MQe | +--examples.application.ExampleBase | +--examples.administration.simple.ExampleAdminBase
To provide the base class/object for example administration applications.
Field Summary | |
static short[] |
version
|
Fields inherited from class examples.application.ExampleBase |
client, example, localQMgrName, msgData, msgField, myQM, qMgrName, queueName, startupIni |
Constructor Summary | |
ExampleAdminBase()
Constructor that uses the default queue manager. |
|
ExampleAdminBase(java.lang.String queueManagerName)
Constructor that runs the example against a remote queue manager. |
|
ExampleAdminBase(java.lang.String qMgrName,
java.lang.String localQMgrIniFile)
Constructor that starts a queue manager with paramters from an ini file. |
Method Summary | |
boolean |
checkReply(MQeAdminMsg replyMsg)
Check to see if a good reply was required. |
MQeFields |
primeAdminMsg(MQeAdminMsg msg)
Prime the admin message. |
void |
setParms()
Override any default variable settings here. |
MQeAdminMsg |
waitForReply(MQeFields msgTest)
Wait a while for the response message. |
Methods inherited from class examples.application.ExampleBase |
accessLocalQMgr, close, doIt, emptyQueue |
Methods inherited from class com.ibm.mqe.MQe |
abbreviate, alias, asciiToByte, byteToAscii, byteToHex, byteToHex, byteToInt, byteToLong, byteToShort, byteToUnicode, fileSeparator, getEventLogHandler, hexToAscii, hexToByte, intToByte, isCLDC, loadClass, loadObject, log, setEventLogHandler, setLoader, sliceByteArray, type, unicodeToByte, uniqueValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static short[] version
Constructor Detail |
public ExampleAdminBase() throws java.lang.Exception
java.lang.Exception
public ExampleAdminBase(java.lang.String queueManagerName) throws java.lang.Exception
java.lang.Exception
public ExampleAdminBase(java.lang.String qMgrName, java.lang.String localQMgrIniFile) throws java.lang.Exception
qMgrName
- java.lang.String, queue manager name
The name of the queue manager to interact with.
The queue manager can be a local or a remote queue
manager.
java.lang.Exception
Method Detail |
public boolean checkReply(MQeAdminMsg replyMsg) throws java.lang.Exception
replyMsg
- reply message to check
java.lang.Exception
public MQeFields primeAdminMsg(MQeAdminMsg msg) throws java.lang.Exception
msg
- The admin message to prime
java.lang.Exception
public void setParms()
setParms
in class ExampleBase
public MQeAdminMsg waitForReply(MQeFields msgTest) throws java.lang.Exception
msgTest
- A filter for the reply message to wait for.
java.lang.Exception
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |