org.portico.lrc.handlers
Class REQ_RequestUpdateHandler
java.lang.Object
com.lbf.commons.messaging.AbstractMessageHandler
org.portico.lrc.handlers.LRCMessageHandler
org.portico.lrc.handlers.REQ_RequestUpdateHandler
- All Implemented Interfaces:
- com.lbf.commons.messaging.IMessageHandler
public class REQ_RequestUpdateHandler
- extends LRCMessageHandler
This class handles requests for attribute updates for a *specific object instance*
Fields inherited from class com.lbf.commons.messaging.AbstractMessageHandler |
augmentable, name |
Method Summary |
void |
processMessage(com.lbf.commons.messaging.MessageContext context)
This method will first check that we are in a valid state to process this request (we're
joined and not in the middle of a save/restore). |
Methods inherited from class com.lbf.commons.messaging.AbstractMessageHandler |
getName, isAugmentable, setAugmentable, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQ_RequestUpdateHandler
public REQ_RequestUpdateHandler()
processMessage
public void processMessage(com.lbf.commons.messaging.MessageContext context)
throws Exception
- This method will first check that we are in a valid state to process this request (we're
joined and not in the middle of a save/restore). After that, it will ensure that we have
discovered the instance and that all the attributes we want updates for exist. Any
attributes that we are the owner of are filtered out and not sent with the request to the
RTI. Finally, the request is handed off to the connection.
- Specified by:
processMessage
in interface com.lbf.commons.messaging.IMessageHandler
- Specified by:
processMessage
in class LRCMessageHandler
- Throws:
Exception