ContactCenters
V. 0.9.9.

umontreal.iro.lecuyer.contactcenters.msk.model
Class CallNotifierForAgentsMove

java.lang.Object
  extended by umontreal.iro.lecuyer.contactcenters.msk.model.CallNotifierForAgentsMove
All Implemented Interfaces:
ExitedContactListener

public class CallNotifierForAgentsMove
extends Object
implements ExitedContactListener

Exited-contact listener used to update the state of the AGENTSMOVE dialer's policy during the simulation. This listener collects statistics about exiting calls to get estimates of the service level in a time window, which is used to determine if the dialer performs inbound-to-outbound, or outbound-to-inbound moves. After this listener is constructed, it should be registered with the router.


Constructor Summary
CallNotifierForAgentsMove(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 init()
           
 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

CallNotifierForAgentsMove

public CallNotifierForAgentsMove(DialerManager dialerManager)
Constructs a new call notifier for the dialer manager dialerManager.

Parameters:
dialerManager - the associated dialer manager.
Method Detail

blocked

public void blocked(Router router,
                    Contact contact,
                    int bType)
Description copied from interface: ExitedContactListener
This method is called when the contact contact is blocked in the router router. The integer bType is used to indicate the reason of the blocking, e.g., the contact could not be served or put into any waiting queue.

Specified by:
blocked in interface ExitedContactListener
Parameters:
router - the router causing the blocking.
contact - the blocked contact.
bType - an indicator giving the reason why the contact is blocked.

dequeued

public void dequeued(Router router,
                     DequeueEvent ev)
Description copied from interface: ExitedContactListener
This method is called when a contact leaves a waiting queue linked to the router router, without being served.

Specified by:
dequeued in interface ExitedContactListener
Parameters:
router - the router causing the dequeueing.
ev - the dequeue event.

served

public void served(Router router,
                   EndServiceEvent ev)
Description copied from interface: ExitedContactListener
This method is called when a contact was served by an agent. This method is called by the router before the after-contact work begins so ev does not contain the information about after-contact time.

Specified by:
served in interface ExitedContactListener
Parameters:
router - the router managing the contact.
ev - the end service event.

init

public void init()

ContactCenters
V. 0.9.9.

To submit a bug or ask questions, send an e-mail to Richard Simard.