|
|||||||||
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 | +--com.jxml.qare.qhome.P2PRequest
This is the base class for all P2P request messages
Fields inherited from class com.jxml.qare.qhome.MessageAgent |
inbox, orginatingSession, sourceESDO |
Constructor Summary | |
P2PRequest()
|
Method Summary | |
void |
eval(Map properties,
List args,
ClassLoader cl)
P2P request messages are not displayed in inbox. |
void |
forward(DBSystem.Row toSystem)
Forward this p2p request on to other systems. |
boolean |
forwardable()
Returns true if hopsRemaining > 0. |
String |
getAction()
This method specifies the action defined by all P2P request messages. |
abstract QSchemaFactory |
getFactory()
This method is overidden by the various application classes for P2P requests. |
abstract int |
maxHops()
This method is overidden by the various application classes for P2P requests. |
abstract void |
process(DBSession.Row qSession)
This method is overidden by the various application classes for P2P requests. |
void |
reply(P2PResponse response)
Send a response back to the original requestor |
DBPendingMessage.Row |
send(DBInbox.Row inbox,
DBSystem.Row toSystem)
Opens a new session and sends this object as a message. |
abstract int |
timeout()
This method is overidden by the various application classes for P2P requests. |
Methods inherited from class com.jxml.qare.qhome.MessageAgent |
lastSend, lastSend, process, send, send, send, send, send, send, send, signed |
Methods inherited from class com.jxml.qare.qhome.SDO |
createInboxMsg, createInboxMsg, exceptionTraceString, getFactoryClassName, getQDoc, getSchema, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public P2PRequest()
Method Detail |
public abstract int timeout()
timeout
in class MessageAgent
public abstract int maxHops()
public abstract QSchemaFactory getFactory()
getFactory
in class SDO
public abstract void process(DBSession.Row qSession) throws Exception
public final String getAction()
getAction
in class SDO
public final void eval(Map properties, List args, ClassLoader cl) throws Exception
eval
in class SDO
public final DBPendingMessage.Row send(DBInbox.Row inbox, DBSystem.Row toSystem) throws Exception
public final boolean forwardable()
public final void forward(DBSystem.Row toSystem) throws Exception
public final void reply(P2PResponse response) throws Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |