|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.midp.exampleapp.msgpump.NormalClient | +--examples.midp.exampleapp.msgpump.NormalServer
The server controller is required to do very little. Most of the work comes from responding to user input. This is done in processInput().
Field Summary | |
static java.lang.String |
prompttext
String used to prompt the user for input. |
static short[] |
version
|
Fields inherited from class examples.midp.exampleapp.msgpump.NormalClient |
starttext |
Constructor Summary | |
NormalServer()
|
Method Summary | |
protected InputThread |
getNewInputThread()
Returns a new inputthread. |
MsgPumpModel |
getNewModel()
returns a pump server model. |
java.lang.String |
getQMname()
Returns the default queue manager name. |
static void |
main(java.lang.String[] args)
The function called when the class is run. |
void |
processInput(java.lang.String input)
Deals with user input. |
Methods inherited from class examples.midp.exampleapp.msgpump.NormalClient |
deleteDir, deleteQueueManager, displayMsg, getModel, getMsgPump, initialize, processMsg, setPumpProperties, start, startInput |
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 final java.lang.String prompttext
Constructor Detail |
public NormalServer()
Method Detail |
public static void main(java.lang.String[] args)
public java.lang.String getQMname()
getQMname
in interface MsgPumpController
getQMname
in class NormalClient
MsgPumpController.getQMname()
protected InputThread getNewInputThread()
getNewInputThread
in class NormalClient
public void processInput(java.lang.String input)
NormalClient
processInput
in class NormalClient
input
- The user input
NormalClient.processInput(String)
public MsgPumpModel getNewModel()
getNewModel
in class NormalClient
NormalClient.getNewModel()
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |