org.csapi.jr.se.cc.mpccs
Interface CallLoadControl

All Superinterfaces:
Activity, CsapiInterface, java.io.Serializable

public interface CallLoadControl
extends Activity

This interface represents a CallLoadControl activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addCallLoadControlListener(org.csapi.jr.se.cc.mpccs.CallLoadControlListener callLoadControlListener)
          Adds a CallLoadControlListener which is interested in events generated by the CallLoadControl.
 org.csapi.jr.se.cc.mpccs.MultiPartyCallControlManager getMultiPartyCallControlManager()
          Returns a reference to the MultiPartyCallControlManager responsible for creation of the CallLoadControl.
 void removeCallLoadControlListener(org.csapi.jr.se.cc.mpccs.CallLoadControlListener callLoadControlListener)
          Removes a CallLoadControlListener which is no longer interested events generated by the CallLoadControl.
 void setCallLoadControl(int duration, org.csapi.jr.se.cc.CallLoadControlMechanism mechanism, org.csapi.jr.se.cc.CallTreatment treatment, org.csapi.jr.se.AddressRange addressRange)
          Invokes the setCallLoadControl() method on the Parlay Gateway.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getMultiPartyCallControlManager

public org.csapi.jr.se.cc.mpccs.MultiPartyCallControlManager getMultiPartyCallControlManager()
Returns a reference to the MultiPartyCallControlManager responsible for creation of the CallLoadControl.

Returns:
A reference to the MultiPartyCallControlManager responsible for creation of the CallLoadControl.

addCallLoadControlListener

public void addCallLoadControlListener(org.csapi.jr.se.cc.mpccs.CallLoadControlListener callLoadControlListener)
Adds a CallLoadControlListener which is interested in events generated by the CallLoadControl.

Parameters:
callLoadControlListener - A reference to the CallLoadControlListener which is to be added as a listener.

removeCallLoadControlListener

public void removeCallLoadControlListener(org.csapi.jr.se.cc.mpccs.CallLoadControlListener callLoadControlListener)
Removes a CallLoadControlListener which is no longer interested events generated by the CallLoadControl.

Parameters:
callLoadControlListener - A reference to the CallLoadControlListener which is to be removed as a listener.

setCallLoadControl

public void setCallLoadControl(int duration,
                               org.csapi.jr.se.cc.CallLoadControlMechanism mechanism,
                               org.csapi.jr.se.cc.CallTreatment treatment,
                               org.csapi.jr.se.AddressRange addressRange)
                        throws PlatformException,
                               java.lang.IllegalStateException,
                               CommonException,
                               InvalidAddressException,
                               UnsupportedAddressPlanException
Invokes the setCallLoadControl() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
InvalidAddressException
UnsupportedAddressPlanException