|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ToggleElement
Specifies an element that can be enabled or disabled at any time during the simulation. The meaning of the ``enabled'' and ``disabled'' states depends on the particular toggle element. For example, an enabled contact arrival process provides contacts to the system whereas a disabled arrival process does not.
Method Summary | |
---|---|
boolean |
isStarted()
Determines if the element is enabled or disabled. |
void |
start()
Enables the element represented by this object. |
void |
stop()
Disables the element represented by this object. |
Method Detail |
---|
void start()
IllegalStateException
if the element is already enabled.
IllegalStateException
- if the element is already enabled.void stop()
IllegalStateException
if the element is already disabled.
IllegalStateException
- if the element is already disabled.boolean isStarted()
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |