|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.events.MessagingAdapter
public abstract class MessagingAdapter
An abstract class that provides no-op definitions of all methods
in the MessagingListener interface.
Users must extend this class, and then implement the methods
for the desired MessagingEvent
sub-event notifications.
| Field Summary |
|---|
| Fields inherited from interface com.cisco.provisioning.cpe.events.MessagingListener |
|---|
CONNECTION_DOWN, CONNECTION_UP, MESSAGING_QUEUE_FULL |
| Constructor Summary | |
|---|---|
MessagingAdapter()
|
|
| 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. |
boolean |
getOneShot()
Gets oneShot mode value, specifying whether or not the listener is registered for just one occurrence of the Event. |
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. |
void |
setOneShot(boolean flg)
Sets oneShot mode, specifying that the registration request is for just one occurrence of the Event. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessagingAdapter()
| Method Detail |
|---|
public void connectionStarted(MessagingEvent ev)
MessagingEvent
arrives as a result of a Connection starting.
connectionStarted in interface MessagingListenerev - The object containing the
MessagingEvent data.public void connectionStopped(MessagingEvent ev)
MessagingEvent
arrives as a result of a connection stopping.
connectionStopped in interface MessagingListenerev - The object containing the
MessagingEvent data.public void messagingQueuefull(MessagingEvent ev)
MessagingEvent
arrives as a result of the messaging system runs into a queue limit
and drops the message.
messagingQueuefull in interface MessagingListenerev - The object containing the
MessagingEvent data.public boolean getOneShot()
getOneShot in interface ProvAPIEventListenerpublic void setOneShot(boolean flg)
setOneShot in interface ProvAPIEventListenerflg - true if oneShot mode is being set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||