public interface SubscriberListener
|Modifier and Type||Field and Description|
Subscriber event indicates that new subscriber was added.
Subscriber event indicates that subscriber was removed.
static final int SUBSCRIBER_ADDED
static final int SUBSCRIBER_REMOVED
void notifySubscriberEvent(Subscriber subscriber, int subscriberEvent)
subscriber- the subscriber where event occurs
subscriberEvent- the occurred subscriber event, which can either be SUBSCRIBER_ADDED or SUBSCRIBER_REMOVED
Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.