public void notifyNewSubscriptionEvent(final SubscriptionEvent event) { if (MONITOR_SVC.equals(event.getSubject())) return; if (event.isRemote()) { proc.notifyEvent(System.currentTimeMillis(), EventType.BUS_EVENT, SubEventType.REMOTE_SUBSCRIBE, event.getSessionId(), "Server", event.getSubject(), null, null, false); } else { proc.notifyEvent(System.currentTimeMillis(), EventType.BUS_EVENT, SubEventType.SERVER_SUBSCRIBE, "Server", "Server", event.getSubject(), null, null, false); } }
public void notifyUnSubcriptionEvent(final SubscriptionEvent event) { if (MONITOR_SVC.equals(event.getSubject())) return; if (event.isRemote()) { proc.notifyEvent(System.currentTimeMillis(), EventType.BUS_EVENT, SubEventType.REMOTE_UNSUBSCRIBE, event.getSessionId(), "Server", event.getSubject(), null, null, false); } else { proc.notifyEvent(System.currentTimeMillis(), EventType.BUS_EVENT, SubEventType.SERVER_UNSUBSCRIBE, "Server", "Server", event.getSubject(), null, null, false); } }
public void notifyNewSubscriptionEvent(final SubscriptionEvent event) { if (MONITOR_SVC.equals(event.getSubject())) return; if (event.isRemote()) { proc.notifyEvent(System.currentTimeMillis(), EventType.BUS_EVENT, SubEventType.REMOTE_SUBSCRIBE, event.getSessionId(), "Server", event.getSubject(), null, null, false); } else { proc.notifyEvent(System.currentTimeMillis(), EventType.BUS_EVENT, SubEventType.SERVER_SUBSCRIBE, "Server", "Server", event.getSubject(), null, null, false); } }
public void notifyUnSubcriptionEvent(final SubscriptionEvent event) { if (MONITOR_SVC.equals(event.getSubject())) return; if (event.isRemote()) { proc.notifyEvent(System.currentTimeMillis(), EventType.BUS_EVENT, SubEventType.REMOTE_UNSUBSCRIBE, event.getSessionId(), "Server", event.getSubject(), null, null, false); } else { proc.notifyEvent(System.currentTimeMillis(), EventType.BUS_EVENT, SubEventType.SERVER_UNSUBSCRIBE, "Server", "Server", event.getSubject(), null, null, false); } }