xmlBlaster 2.2.0 API

org.xmlBlaster.engine
Interface I_SubscriptionListener

All Superinterfaces:
java.util.EventListener
All Known Subinterfaces:
I_MsgDistributor, I_SessionPersistencePlugin
All Known Implementing Classes:
ClientSubscriptions, ConsumableQueuePlugin, EventPlugin, ReplManagerPlugin, SessionPersistencePlugin

public interface I_SubscriptionListener
extends java.util.EventListener

Listens on subscriptionRemove and subscriptionAdded events.

The events are fired by the Authenticate object.

Version:
$Id: I_SubscriptionListener.java 13231 2005-02-13 16:36:13Z laghi $
Author:
Marcel Ruff

Field Summary
static java.lang.Integer PRIO_01
           
static java.lang.Integer PRIO_05
           
static java.lang.Integer PRIO_10
           
 
Method Summary
 java.lang.Integer getPriority()
          The priority by which it will be invoked.
 void subscriptionAdd(SubscriptionEvent e)
          Invoked on successful subscription login
 void subscriptionRemove(SubscriptionEvent e)
          Invoked when subscription does a logout
 

Field Detail

PRIO_01

static final java.lang.Integer PRIO_01

PRIO_05

static final java.lang.Integer PRIO_05

PRIO_10

static final java.lang.Integer PRIO_10
Method Detail

getPriority

java.lang.Integer getPriority()
The priority by which it will be invoked. Lower numbers are invoked first on subscribe and last on unsubscribe.

Returns:

subscriptionAdd

void subscriptionAdd(SubscriptionEvent e)
                     throws XmlBlasterException
Invoked on successful subscription login

Throws:
XmlBlasterException

subscriptionRemove

void subscriptionRemove(SubscriptionEvent e)
                        throws XmlBlasterException
Invoked when subscription does a logout

Throws:
XmlBlasterException

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.