public interface PublisherListener<T> extends RegistrantListener<Publisher<T>>
Publisher
instances.Modifier and Type | Method and Description |
---|---|
void |
onNewSubscriber(Publisher<T> publisher,
SubscriberIdentifier subscriberIdentifier)
A
Subscriber has connected to the Publisher . |
void |
onShutdown(Publisher<T> publisher)
The
Publisher has been shut down. |
onMasterRegistrationFailure, onMasterRegistrationSuccess, onMasterUnregistrationFailure, onMasterUnregistrationSuccess
void onNewSubscriber(Publisher<T> publisher, SubscriberIdentifier subscriberIdentifier)
Subscriber
has connected to the Publisher
.publisher
- the Publisher
that the Subscriber
connected tosubscriberIdentifier
- the SubscriberIdentifier
of the new Subscriber