|
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.stat.OutboundCallCounter
public class OutboundCallCounter
Defines a new-contact listener that counts the number of outbound calls. This
object encapsulates a measure matrix containing lines. When a contact
of type k is notified, it is added in row k -
of the matrix, and
column corresponding to its statistical period.
Constructor Summary | |
---|---|
OutboundCallCounter(CallCenter cc,
StatPeriod statP)
Constructs a new call counter for the call center model cc, and using statP to get statistical periods of calls. |
Method Summary | |
---|---|
SumMatrix |
getCount()
Returns the sum matrix that contains the counts. |
void |
init()
Initializes the sum matrix for counting contacts. |
void |
newContact(Contact contact)
Notifies the listener about a new contact contact. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutboundCallCounter(CallCenter cc, StatPeriod statP)
cc
- the call center model.statP
- the object for obtaining statistical periods.Method Detail |
---|
public SumMatrix getCount()
public void init()
public void newContact(Contact contact)
NewContactListener
newContact
in interface NewContactListener
contact
- the new contact.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |