Package org.dmd.dmp.shared.generated.dmo

Examples of org.dmd.dmp.shared.generated.dmo.DMPEventDMO


    }
   
    @Override
    // org.dmd.dms.util.GenUtility.dumpSVType(GenUtility.java:2010)
    public DMPEventDMO set(Object v) throws DmcValueException {
        DMPEventDMO rc = typeCheck(v);
        // We only return a value if the value actually changed. This supports
        // the applyModifier() mechanism on DmcObject where we only return true
        // if something changed as a result of the modifier
        if (value == null)
            value = rc;
View Full Code Here


   * a Response.
   * @param event
   */
  void handleAsynchronousInfo(Object async){
    if (async instanceof DMPEventDMO){
      DMPEventDMO event = (DMPEventDMO) async;
     
      if (controllerTracing)
        logger.finest("handleAsynchronousInfo() got event:\n\n" + event.toOIF() + "\n\n");

      if (event.getListenerID() == null){
        if (centralEventHandler != null)
          centralEventHandler.handleEventCentrally(event);
       
        logger.severe("handleAsynchronousInfo() - received event with no listenerID: " + event.toOIF());
        return;
      }
     
      ResponseCallback cb = eventHandlers.get(event.getListenerID());
     
      if (cb == null){
        logger.severe("handleAsynchronousInfo() - couldn't get callback for event with listenerID: " + event.getListenerID());
      }
      else{
        // Set the handleID on the event so that the callback will know how to route the event
        event.setHandlerID(cb.getRequest().getHandlerID());
       
        if ( (originatorID != null) && (event.getOriginatorID() != null)){
          if (originatorID == event.getOriginatorID())
            event.setMyOwnEvent(true);
        }
       
        cb.getEventHandler().handleEvent(event);
      }
    }
View Full Code Here

TOP

Related Classes of org.dmd.dmp.shared.generated.dmo.DMPEventDMO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.