public class JASubscriber extends JActorName implements Subscriber
JLPCActor.SMBuilder| Constructor and Description |
|---|
JASubscriber() |
| Modifier and Type | Method and Description |
|---|---|
void |
subscribed(Publisher publisher)
This actor has been granted a subscription.
|
void |
unsubscribed(Publisher publisher,
RP rp)
This actor's subscription has been dropped.
|
getActorName, setActorNameacceptEvent, acceptRequest, getActorType, getAncestor, getExceptionHandler, getFactory, getMailbox, getMailboxFactory, getMatch, getParent, hasDataItem, haveEvents, initialize, initialize, initialize, initialize, initialize, requirements, responseFrom, send, send, sendEvent, setExceptionHandler, setInitialBufferCapacityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActorName, setActorNamesetExceptionHandleracceptEvent, acceptRequest, getActorType, getAncestor, getFactory, getMailbox, getMatch, getParent, hasDataItem, setInitialBufferCapacitypublic void subscribed(Publisher publisher) throws Exception
subscribed in interface Subscriberpublisher - The publisher that has been subscribed to.Exceptionpublic void unsubscribed(Publisher publisher, RP rp) throws Exception
unsubscribed in interface Subscriberpublisher - The publisher which has dropped the subscription.rp - The response processor.ExceptionCopyright © 2012. All Rights Reserved.