|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.db2.tools.repl.publication.ControlMsg
The ControlMsg class represents a message that is sent to a QCapture program. The message is a request for QCapture to perform a certain operation.
Constructor Summary | |
---|---|
ControlMsg()
|
Method Summary | |
---|---|
protected void |
generateXML(java.lang.StringBuffer xmlDocument)
Actually create the xml. |
protected java.lang.String |
getXML()
This will create the xml document and return it |
void |
send(javax.jms.Session session,
javax.jms.MessageProducer msgProducer)
This will send the msg to the the specified messageProducer (MQ queue). |
void |
send(java.lang.String qMgrName,
java.lang.String qName)
This will send the msg to the specified queue manager and queue. |
java.lang.String |
toString()
Override so we can print the values in a nice textual format. |
protected void |
validate()
This will valiadate that everything is present for the xml document to be created. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ControlMsg()
Method Detail |
public void send(javax.jms.Session session, javax.jms.MessageProducer msgProducer) throws java.lang.Exception
session
- The session that was used to create the MessageProducer. Used to create a new
text message.msgProducer
- The message is sent here.
java.lang.Exception
public void send(java.lang.String qMgrName, java.lang.String qName) throws java.lang.Exception
java.lang.Exception
protected void validate() throws java.lang.Exception
java.lang.Exception
protected java.lang.String getXML()
protected void generateXML(java.lang.StringBuffer xmlDocument)
xmlDocument
- Generate the xml here.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |