|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.contactcenters.msk.model.CallNotifierForBadContactMismatchRate
public class CallNotifierForBadContactMismatchRate
Exited-contact and new-contact listeners used
to update the state of the BADCONTACTMISMATCHRATE
dialer's policy.
This listener calls
BadContactMismatchRatesDialerPolicy.notifyInboundContact(Contact,boolean)
, and
BadContactMismatchRatesDialerPolicy.notifyOutboundContact(Contact,boolean)
methods when failed contacts are notified, or when other contacts
exit.
This listener should be registered with the router and with
the dialer to receive failed calls.
Constructor Summary | |
---|---|
CallNotifierForBadContactMismatchRate(DialerManager dialerManager)
Constructs a new call notifier for the dialer manager dialerManager. |
Method Summary | |
---|---|
void |
blocked(Router router,
Contact contact,
int bType)
This method is called when the contact contact is blocked in the router router. |
void |
dequeued(Router router,
DequeueEvent ev)
This method is called when a contact leaves a waiting queue linked to the router router, without being served. |
void |
newContact(Contact contact)
Notifies the listener about a new contact contact. |
void |
served(Router router,
EndServiceEvent ev)
This method is called when a contact was served by an agent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallNotifierForBadContactMismatchRate(DialerManager dialerManager)
dialerManager
- the associated dialer manager.Method Detail |
---|
public void newContact(Contact contact)
NewContactListener
newContact
in interface NewContactListener
contact
- the new contact.public void blocked(Router router, Contact contact, int bType)
ExitedContactListener
blocked
in interface ExitedContactListener
router
- the router causing the blocking.contact
- the blocked contact.bType
- an indicator giving the reason why the contact is blocked.public void dequeued(Router router, DequeueEvent ev)
ExitedContactListener
dequeued
in interface ExitedContactListener
router
- the router causing the dequeueing.ev
- the dequeue event.public void served(Router router, EndServiceEvent ev)
ExitedContactListener
served
in interface ExitedContactListener
router
- the router managing the contact.ev
- the end service event.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |