com.espertech.esperio.subscription
Interface Subscription

All Known Implementing Classes:
BaseSubscription, JMSSubscription

public interface Subscription

Subscriptions are associated with an output adapter and dictate which events are sent to a given adapter.


Method Summary
 OutputAdapter getAdapter()
          Returns the output adapter this subscription is associated with.
 String getEventTypeAlias()
          Returns the type name of the event type we are looking for.
 String getSubscriptionName()
          Returns the subscription name.
 void registerAdapter(OutputAdapter adapter)
          Sets the output adapter this subscription is associated with.
 void setSubscriptionName(String name)
          Sets the subscription name.
 

Method Detail

getSubscriptionName

String getSubscriptionName()
Returns the subscription name.

Returns:
subscription name

setSubscriptionName

void setSubscriptionName(String name)
Sets the subscription name.

Parameters:
name - is the subscription name

getEventTypeAlias

String getEventTypeAlias()
Returns the type name of the event type we are looking for.

Returns:
event type alias

getAdapter

OutputAdapter getAdapter()
Returns the output adapter this subscription is associated with.

Returns:
output adapter

registerAdapter

void registerAdapter(OutputAdapter adapter)
Sets the output adapter this subscription is associated with.

Parameters:
adapter - to set

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com