|
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.TimeInterval
umontreal.iro.lecuyer.contactcenters.msk.model.DialerLimit
public class DialerLimit
Represents a limit on the number of calls to dial.
Such a limit is described by a time interval on which
it applies, the maximal number of outbound calls allowed
for this dialer during the interval, and the call types on
which the limit applies.
This class extends the TimeInterval
class
for the information about the time interval on which
the limit applies.
Constructor Summary | |
---|---|
DialerLimit(CallCenter cc,
DialerLimitParams par)
Constructs a new dialer limit using the call center cc, and limit parameters par. |
Method Summary | |
---|---|
int[] |
getTypes()
Returns an array giving the list of call types on which the limit applies. |
int |
getValue()
Returns the maximal number of calls of the specified typeset during the given interval. |
boolean |
hasType(int k)
Returns true if and only if this limit applies to call type k. |
Methods inherited from class umontreal.iro.lecuyer.contactcenters.msk.model.TimeInterval |
---|
checkIntervals, create, getEndingTime, getStartingTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DialerLimit(CallCenter cc, DialerLimitParams par)
cc
- the call center model.par
- the limit parameters.Method Detail |
---|
public int getValue()
public int[] getTypes()
public boolean hasType(int k)
k
- the tested call type.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |