Examples of EventNotification


Examples of net.java.sip.communicator.impl.notification.EventNotification

     */
    public void restoreDefaults()
    {
        for (String eventType : new Vector<String>(notificationsTable.keySet()))
        {
            EventNotification notification = notificationsTable.get(eventType);

            for (String actionType
                    : new Vector<String>(notification.getActions().keySet()))
                removeEventNotificationAction(eventType, actionType);

            removeEventNotification(eventType);
        }

        for (Map.Entry<String, EventNotification> entry
                : defaultNotificationsTable.entrySet())
        {
            String eventType = entry.getKey();
            EventNotification notification = entry.getValue();

            for (String actionType : notification.getActions().keySet())
                registerNotificationForEvent(
                    eventType,
                    actionType,
                    notification.getAction(actionType).getActionHandler());
        }
    }
View Full Code Here

Examples of org.chromium.sdk.internal.v8native.protocol.input.EventNotification

  /**
   * @param type response type ("response" or "event")
   * @param response from the V8 VM debugger
   */
  public void handleResponseWithHandler(IncomingMessage response) {
    EventNotification eventResponse = response.asEventNotification();
    if (eventResponse == null) {
      // Currently only events are supported.
      return;
    }
    String commandString = eventResponse.event();
    DebuggerCommand command = DebuggerCommand.forString(commandString);
    if (command == null) {
      LOGGER.log(Level.WARNING,
          "Unknown command in V8 debugger reply JSON: {0}", commandString);
      return;
View Full Code Here

Examples of org.hxzon.asn1.mms.sequence.EventNotification

        case Tag.CONTEXT | 0:
            return new InformationReport().init(tag, stream);
        case Tag.CONTEXT | 1:
            return new UnsolicitedStatus().init(tag, stream);
        case Tag.CONTEXT | 2:
            return new EventNotification().init(tag, stream);
        default:
            return Asn1Utils.createUnknown(tag, stream);
        }
    }
View Full Code Here

Examples of uk.nhs.interoperability.payloads.notification.EventNotification

        result = xmlDocument;
      }
      testOutput = testOutput + "<td>";
      for (int n=0; n<repeatCount; n++) {
        long startTime = System.currentTimeMillis();
        EventNotification notification = new EventNotification();
        notification.parse(result);
        testOutput = testOutput + "<li>Test Run " + (n+1) + " = " + (System.currentTimeMillis() - startTime) + "ms</li>";
      }
      testOutput = testOutput + "</td>";
    }
    sizeBytes = result.getBytes().length;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.