public class ProxyTopicPatternSubscriber extends ProxyTopicSubscriber
veto| Constructor and Description |
|---|
ProxyTopicPatternSubscriber(Object proxiedSubscriber,
Method subscriptionMethod,
ReferenceStrength referenceStrength,
EventService es,
String patternString,
Pattern pattern,
boolean veto)
Creates a proxy.
|
ProxyTopicPatternSubscriber(Object proxiedSubscriber,
Method subscriptionMethod,
ReferenceStrength referenceStrength,
int priority,
EventService es,
String patternString,
Pattern pattern,
boolean veto)
Creates a proxy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
toString() |
protected void |
unsubscribe(String topic) |
onEvent, shouldVetogetEventService, getPriority, getProxiedSubscriber, getReferenceStrength, getSubscriptionMethod, hashCode, proxyUnsubscribed, retryReflectiveCallUsingAccessibleObjectpublic ProxyTopicPatternSubscriber(Object proxiedSubscriber, Method subscriptionMethod, ReferenceStrength referenceStrength, EventService es, String patternString, Pattern pattern, boolean veto)
proxiedSubscriber - the subscriber that the proxy will call when an event is publishedsubscriptionMethod - the method the proxy will call, must have an Object as it's first and only parameterreferenceStrength - if the subscription is weak, the reference from the proxy to the real subscriber should
be tooes - the EventService we will be subscribed to, since we may need to unsubscribe when weak refs no longer
existpatternString - the Regular Expression for topics to subscribe to, used for unsubscription onlypublic ProxyTopicPatternSubscriber(Object proxiedSubscriber, Method subscriptionMethod, ReferenceStrength referenceStrength, int priority, EventService es, String patternString, Pattern pattern, boolean veto)
proxiedSubscriber - the subscriber that the proxy will call when an event is publishedsubscriptionMethod - the method the proxy will call, must have an Object as it's first and only parameterreferenceStrength - if the subscription is weak, the reference from the proxy to the real subscriber should
be tooes - the EventService we will be subscribed to, since we may need to unsubscribe when weak refs no longer
existpatternString - the Regular Expression for topics to subscribe to, used for unsubscription onlyprotected void unsubscribe(String topic)
unsubscribe in class ProxyTopicSubscriberpublic boolean equals(Object o)
equals in class ProxyTopicSubscriberpublic String toString()
toString in class ProxyTopicSubscriberCopyright © 2013 Bushe Enterprises, Inc.. All Rights Reserved.