copyright The Portico Project 2008.

org.portico.lrc.handlers
Class REQ_RequestUpdateHandler

java.lang.Object
  extended by com.lbf.commons.messaging.AbstractMessageHandler
      extended by org.portico.lrc.handlers.LRCMessageHandler
          extended by 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*


Field Summary
 
Fields inherited from class org.portico.lrc.handlers.LRCMessageHandler
interests, logger, lrc, regions, repository, state
 
Fields inherited from class com.lbf.commons.messaging.AbstractMessageHandler
augmentable, name
 
Constructor Summary
REQ_RequestUpdateHandler()
           
 
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 org.portico.lrc.handlers.LRCMessageHandler
error, error, getConnection, getFOM, initialize, sendMessage, success, success, success
 
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
 

Constructor Detail

REQ_RequestUpdateHandler

public REQ_RequestUpdateHandler()
Method Detail

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

copyright The Portico Project 2008.