|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.jxml.qare.qhome.SDO
|
+--com.jxml.qare.qhome.MessageAgent
This is the base class for all Qhome messages in Qare and also has a method which expresses the data into XML. SDO stands for "Self Describing Objects"
| Field Summary | |
DBInbox.Row |
inbox
|
DBSession.Row |
orginatingSession
|
ESDO |
sourceESDO
|
| Constructor Summary | |
MessageAgent()
|
|
| Method Summary | |
DBPendingMessage.Row |
lastSend(DBSession.Row qSession)
Sends this object and then closes the session. |
DBPendingMessage.Row |
lastSend(DBSystem.Row toSystem,
DBApplication.Row app,
Map properties)
Opens a new session and sends this object as a message, closing the session after the message is sent. |
abstract void |
process(DBSession.Row qSession,
QAppPlugin qapp)
This method is overidden by classes which use the process/reply logic. |
DBPendingMessage.Row |
send(DBSession.Row qSession)
Sends this object as a message. |
DBPendingMessage.Row |
send(DBSession.Row qSession,
boolean lastMsg)
Sends this object as a message. |
DBPendingMessage.Row |
send(DBSystem.Row toSystem,
DBApplication.Row app,
DBUser.Row user)
Opens a new session and sends this object as a message. |
DBPendingMessage.Row |
send(DBSystem.Row toSystem,
DBApplication.Row app,
DBUser.Row user,
Map properties)
Opens a new session and sends this object as a message. |
DBPendingMessage.Row |
send(DBSystem.Row toSystem,
DBApplication.Row app,
DBUser.Row user,
String password,
Map properties)
Opens a new session and sends this object as a message. |
DBPendingMessage.Row |
send(DBSystem.Row toSystem,
DBApplication.Row app,
Map properties)
Opens a new session and sends this object as a message. |
DBPendingMessage.Row |
send(String password,
boolean lastMsg,
DBSession.Row qSession)
|
boolean |
signed()
Returns true if the message must be signed. |
int |
timeout()
Returns the timeout value in millis, or -1. |
| Methods inherited from class com.jxml.qare.qhome.SDO |
createInboxMsg, createInboxMsg, eval, exceptionTraceString, getAction, getFactory, getFactoryClassName, getQDoc, getSchema, toXML |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.jxml.quick.config.Item |
eval |
| Field Detail |
public DBInbox.Row inbox
public DBSession.Row orginatingSession
public ESDO sourceESDO
| Constructor Detail |
public MessageAgent()
| Method Detail |
public boolean signed()
public int timeout()
public abstract void process(DBSession.Row qSession,
QAppPlugin qapp)
throws Exception
public final DBPendingMessage.Row lastSend(DBSession.Row qSession)
throws Exception
qSession - the QSession defining the channel on which this message is to be sent.
public final DBPendingMessage.Row send(DBSession.Row qSession)
throws Exception
qSession - the QSession defining the channel on which this message is to be sent.
public final DBPendingMessage.Row send(DBSession.Row qSession,
boolean lastMsg)
throws Exception
qSession - the QSession defining the channel on which this message is to be sent.lastMsg - indicates whether a session is to be closed(true) after the message has been sent.
public final DBPendingMessage.Row send(DBSystem.Row toSystem,
DBApplication.Row app,
Map properties)
throws Exception
toSystem - URL of the server which is to process the message.app - name of the application which is to process the message.properties - misc. environment variables
public final DBPendingMessage.Row lastSend(DBSystem.Row toSystem,
DBApplication.Row app,
Map properties)
throws Exception
toSystem - URL of the server which is to process the message.app - name of the application which is to process the message.war - war file name of the application which is to process the message.properties - misc. environment variables
public final DBPendingMessage.Row send(DBSystem.Row toSystem,
DBApplication.Row app,
DBUser.Row user)
throws Exception
toSystem - URL of the server which is to process the message.app - name of the application which is to process the message.userName - the name of the account on the remote system.
public final DBPendingMessage.Row send(DBSystem.Row toSystem,
DBApplication.Row app,
DBUser.Row user,
Map properties)
throws Exception
toSystem - URL of the server which is to process the message.app - name of the application which is to process the message.userName - the name of the account on the remote system.properties - misc. environment variables
public final DBPendingMessage.Row send(DBSystem.Row toSystem,
DBApplication.Row app,
DBUser.Row user,
String password,
Map properties)
throws Exception
toSystem - URL of the server which is to process the message.app - name of the application which is to process the message.userName - the name of the account on the remote system.password - the passowrd of the account on the remote system.properties - misc. environment variables
public final DBPendingMessage.Row send(String password,
boolean lastMsg,
DBSession.Row qSession)
throws Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||