|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the msgpump controller interface class. All controllers of a message pump must implement this.
The aim of the controller is to act as both the user interface and the control centre for the message pump. This means that if a decision needs to be made, this is the class that does it.
Controllers will be dependant on whether they are being run on J2SE, MIDP or other versions of java - it is not expected that a generic controller client will be used to control all client models as the user interface will differ between java platforms.
Field Summary | |
static short[] |
version
|
Method Summary | |
void |
deleteQueueManager()
Purges the queue manager from the system. |
void |
displayMsg(java.lang.String msg)
Displays a status report or other type of message. |
MsgPumpModel |
getModel()
Returns the pump model, creating a new one first if necessary. |
java.lang.String |
getQMname()
Returns the name of hte queue manager. |
void |
initialize()
Performs any actions necessary to initialize the controller. |
void |
processMsg(java.lang.String msg)
This function is used to process a message before it is displayed. |
void |
start()
Called to start the pumping. |
Field Detail |
public static final short[] version
Method Detail |
public void processMsg(java.lang.String msg)
msg
- The message to be displayedpublic MsgPumpModel getModel()
public void deleteQueueManager()
public void displayMsg(java.lang.String msg)
msg
- The message to displaypublic java.lang.String getQMname()
public void start() throws java.lang.Exception
java.lang.Exception
public void initialize() throws java.lang.Exception
java.lang.Exception
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |