|
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.queuemanager.MQePrivateServer
To provide a simple example MQe server.
Components configured on a server at startup are :
... Aliases ... ChannelManager ... ChannelListener ... Registry ... QueueManager ... Preload
Note:Only one client per JVM can be started at a time.
This extends the MQe
class.
Field Summary | |
static boolean |
initialised
|
static java.util.Hashtable |
loadTable
|
static MQeQueueManager |
queueManager
|
static MQeFields |
sections
|
static short[] |
version
|
Constructor Summary | |
MQePrivateServer(java.lang.String iniFileName,
java.lang.String pIN,
java.lang.String keyRingPwd,
java.lang.String certReqPIN)
Constructor with configuration parameters from an ini file |
Method Summary | |
void |
activate(boolean Start)
Activate and de-activate the server. |
void |
close()
Stops an MQeServer. |
void |
init(MQeFields parms)
First stage setup. |
static void |
main(java.lang.String[] args)
|
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
public static MQeQueueManager queueManager
public static java.util.Hashtable loadTable
public static boolean initialised
public static MQeFields sections
Constructor Detail |
public MQePrivateServer(java.lang.String iniFileName, java.lang.String pIN, java.lang.String keyRingPwd, java.lang.String certReqPIN) throws java.lang.Exception
iniFileName
- A String containing the ini file name containing startup parms.pIN
- A String containing Number, password or passphrase to be used to open the private registry.keyRingPwd
- A String password or passphrase used to protect the entity’s private key.certReqPIN
- The certificate request PIN supplied by the entity.
java.lang.Exception
Method Detail |
public void activate(boolean Start) throws java.lang.Exception
java.lang.Exception
public void close() throws java.lang.Exception
java.lang.Exception
public void init(MQeFields parms) throws java.lang.Exception
parms
- MQeFields object.
java.lang.Exception
public static void main(java.lang.String[] args)
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |