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, setActorName
acceptEvent, acceptRequest, getActorType, getAncestor, getExceptionHandler, getFactory, getMailbox, getMailboxFactory, getMatch, getParent, hasDataItem, haveEvents, initialize, initialize, initialize, initialize, initialize, requirements, responseFrom, send, send, sendEvent, setExceptionHandler, setInitialBufferCapacity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActorName, setActorName
setExceptionHandler
acceptEvent, acceptRequest, getActorType, getAncestor, getFactory, getMailbox, getMatch, getParent, hasDataItem, setInitialBufferCapacity
public void subscribed(Publisher publisher) throws Exception
subscribed
in interface Subscriber
publisher
- The publisher that has been subscribed to.Exception
public void unsubscribed(Publisher publisher, RP rp) throws Exception
unsubscribed
in interface Subscriber
publisher
- The publisher which has dropped the subscription.rp
- The response processor.Exception
Copyright © 2012. All Rights Reserved.