public interface EventSubscriptionAttributes
Modifier and Type | Method and Description |
---|---|
EventSubscriptionAttributes |
addEventType(String eventType)
(Optional) - Add an event type to the subscription attributes.
|
EventSubscriptionAttributes |
clearDeliverToPreferredVersion()
(Optional) - Clear the "deliver to preferred version" option.
|
EventSubscriptionAttributes |
clearPopulateConsumerPreferredVersion()
(Optional) - Clear the "populate preferred consumer version" option.
|
String |
getConsumerName()
Get the consumer name associated with the subscription.
|
Serializable |
getConsumerPrivateData()
Get the consumer private data associated with the subscription.
|
String |
getConsumerVersion()
Get the consumer version associated with the subscription.
|
List |
getEventTypeList()
Get A reference to the internal list that holds events types.
|
String |
getFamily()
Get the event family associated with the subscription.
|
EventFilter |
getFilter()
Get the event filter associated with the subscription.
|
boolean |
isDeliverToPreferredVersion()
Returns true if the "deliver to preferred version" option has been
selected.
|
boolean |
isPopulateConsumerPreferredVersion()
Returns true if the "populate consumer preferred version" option has been
selected.
|
EventSubscriptionAttributes |
setConsumerName(String name)
(Optional) - Set the consumer name associated with this subscription.
|
EventSubscriptionAttributes |
setConsumerPrivateData(Serializable consumerPrivateData)
(Optional) - Set an arbitrary object/set of data associated with this
subscription.
|
EventSubscriptionAttributes |
setConsumerVersion(String version)
(Optional) - Set the consumer version associated with this subscription.
|
EventSubscriptionAttributes |
setDeliverToPreferredVersion()
(Optional) - Set the "deliver to preferred version" option when
subscribing.
|
EventSubscriptionAttributes |
setFilter(EventFilter filter)
(Optional) - Set an EventFilter object for this subscription.
|
EventSubscriptionAttributes |
setPopulateConsumerPreferredVersion()
(Optional) - Set the "populate preferred consumer version" option when
subscribing.
|
EventSubscriptionAttributes addEventType(String eventType)
eventType
- The eventType type to add to the subscription attributes. Each
call to this method adds an eventType to the list of event
types for which the consumer wishes to receive events.List getEventTypeList()
EventSubscriptionAttributes setConsumerPrivateData(Serializable consumerPrivateData)
consumerPrivateData
- The arbitrary object/set of day to be associated with this
subscription.EventSubscriptionAttributes setFilter(EventFilter filter)
filter
- The EventFilter object that specifies filtering criteria to
limit the events received by the consumer.EventSubscriptionAttributes setConsumerName(String name)
name
- The name of the consumer associated with this subscription.
This method allows a consumer to subscribe on behalf of
another consumer and then receive this information back with a
delivered event so that the subscribing consumer will know
which other consumer it subscribed "on behalf of".
Setting this value has no effect on which consumer will
receive the delivery of an event. The actual subscribing
consumer is used for delivery.EventSubscriptionAttributes setConsumerVersion(String version)
version
- The version of the consumer associated with this subscription.
This method allows a consumer to subscribe on behalf of
another consumer and then receive this information back with a
delivered event so that the subscribing consumer will know
which other consumer it subscribed "on behalf of".
Setting this value has no effect on which version of a
consumer will receive the delivery of an event. The actual
version of the subscribing consumer is used for delivery
unless modified by the "deliver to preferred version" option.EventSubscriptionAttributes setDeliverToPreferredVersion()
EventSubscriptionAttributes clearDeliverToPreferredVersion()
EventSubscriptionAttributes setPopulateConsumerPreferredVersion()
com.avaya.collaboration.eventing
:
EventSubscriptionAttributes clearPopulateConsumerPreferredVersion()
String getFamily()
Serializable getConsumerPrivateData()
EventFilter getFilter()
String getConsumerName()
String getConsumerVersion()
boolean isDeliverToPreferredVersion()
boolean isPopulateConsumerPreferredVersion()
Copyright © 2014 Avaya. All Rights Reserved.