ContactCenters
V. 0.9.9.

umontreal.iro.lecuyer.contactcenters.msk.spi
Interface DialerPolicyFactory


public interface DialerPolicyFactory

Provdes a method to create a dialer from the user-specified parameters.


Method Summary
 DialerPolicy createDialerPolicy(CallCenter cc, DialerManager dm, DialerParams par)
          Constructs and returns a dialer policy for the call center model cc and the dialer parameters par.
 

Method Detail

createDialerPolicy

DialerPolicy createDialerPolicy(CallCenter cc,
                                DialerManager dm,
                                DialerParams par)
                                throws DialerCreationException
Constructs and returns a dialer policy for the call center model cc and the dialer parameters par. This method uses the result of DialerParams.getDialerPolicy() as a policy identifier given by the user. It returns a dialer policy if that particular dialer policy identifier is supported. Otherwise, it returns null. A dialer-creation exception is thrown only if the implementation supports the creation of the policy, but fails due to some error such as bad parameters.

Parameters:
cc - the call center model.
par - the dialer's parameters.
Returns:
the new dialer's policy, or null.
Throws:
DialerCreationException

ContactCenters
V. 0.9.9.

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