com.cisco.provisioning.cpe.events
Interface MessagingListener

All Superinterfaces:
ProvAPIEventListener
All Known Implementing Classes:
MessagingAdapter

public interface MessagingListener
extends ProvAPIEventListener

The Listener interface for MessagingEvent events.


Field Summary
static int CONNECTION_DOWN
          Event ID that indicates the CONNECTION_DOWN sub-event type of the MessagingEvent.
static int CONNECTION_UP
          Event ID that indicates the CONNECTION_UP sub-event type of the MessagingEvent.
static int MESSAGING_QUEUE_FULL
          Event ID that indicates the MESSAGING_QUEUE_FULL sub-event type of the MessagingEvent.
 
Method Summary
 void connectionStarted(MessagingEvent ev)
          The method invoked when a MessagingEvent arrives as a result of a Connection starting.
 void connectionStopped(MessagingEvent ev)
          The method invoked when a MessagingEvent arrives as a result of a connection stopping.
 void messagingQueuefull(MessagingEvent ev)
          The method invoked when a MessagingEvent arrives as a result of the messaging system runs into a queue limit and drops the message.
 
Methods inherited from interface com.cisco.provisioning.cpe.events.ProvAPIEventListener
getOneShot, setOneShot
 

Field Detail

CONNECTION_UP

static final int CONNECTION_UP
Event ID that indicates the CONNECTION_UP sub-event type of the MessagingEvent. This indicates that a connection to another server/client is running.

See Also:
Constant Field Values

CONNECTION_DOWN

static final int CONNECTION_DOWN
Event ID that indicates the CONNECTION_DOWN sub-event type of the MessagingEvent. This indicates that a connection to another server/client is down.

See Also:
Constant Field Values

MESSAGING_QUEUE_FULL

static final int MESSAGING_QUEUE_FULL
Event ID that indicates the MESSAGING_QUEUE_FULL sub-event type of the MessagingEvent. This indicates that the messaging system runs into a queue limit and drops the message.

See Also:
Constant Field Values
Method Detail

connectionStarted

void connectionStarted(MessagingEvent ev)
The method invoked when a MessagingEvent arrives as a result of a Connection starting.

Parameters:
ev - The object containing the MessagingEvent data.

connectionStopped

void connectionStopped(MessagingEvent ev)
The method invoked when a MessagingEvent arrives as a result of a connection stopping.

Parameters:
ev - The object containing the MessagingEvent data.

messagingQueuefull

void messagingQueuefull(MessagingEvent ev)
The method invoked when a MessagingEvent arrives as a result of the messaging system runs into a queue limit and drops the message.

Parameters:
ev - The object containing the MessagingEvent data.