org.portico.lrc.handlers
Class REQ_LocalDeleteHandler
java.lang.Object
com.lbf.commons.messaging.AbstractMessageHandler
org.portico.lrc.handlers.LRCMessageHandler
org.portico.lrc.handlers.REQ_LocalDeleteHandler
- All Implemented Interfaces:
- com.lbf.commons.messaging.IMessageHandler
public class REQ_LocalDeleteHandler
- extends LRCMessageHandler
Handles requests by the federate to do a local delete. This won't actually delete the instance,
it will just have the RTI act as if the federate had never discovered the federate.
Fields inherited from class com.lbf.commons.messaging.AbstractMessageHandler |
augmentable, name |
Method Summary |
void |
processMessage(com.lbf.commons.messaging.MessageContext context)
This method handles a request to delete an object locally for the associated federate. |
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_LocalDeleteHandler
public REQ_LocalDeleteHandler()
processMessage
public void processMessage(com.lbf.commons.messaging.MessageContext context)
throws Exception
- This method handles a request to delete an object locally for the associated federate. It
will ensure that the federate is in the appropriate state to issue the request (eg. not in
the middle of a save etc...) and that the instance has been previously discovered by the
federate. If this is the case, it will finally check that the federate does not currently
own any attributes in the object instance before forwarding the request to the RTI for
further processing.
- Specified by:
processMessage
in interface com.lbf.commons.messaging.IMessageHandler
- Specified by:
processMessage
in class LRCMessageHandler
- Throws:
Exception