|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CallCenterTrunk
interface represents a trunk on the
underlying telephony hardware. Each trunk has four attributes: its
name, its state, its type, and its associated
Call.
getName()
method on this interface.
A trunk's name does not change throughout its lifetime.
getState()
method on this interface. The following chart
summarizes the two trunk states:
CallCenterTrunk.VALID_TRUNK |
The trunk is valid and associated with a Call. |
CallCenterTrunk.INVALID_TRUNK |
The trunk is not valid and not associated with a Call. |
getType()
method on this interface. The
following chart summarizes the three trunk types:
CallCenterTrunk.INCOMING_TRUNK |
The trunk is an incoming trunk |
CallCenterTrunk.OUTGOING_TRUNK |
The trunk is an outgoing trunk |
CallCenterTrunk.UNKNOWN_TRUNK |
The trunk type is not known |
getCall()
method on this interface.
CallCenterCallObserver
interface.
The CallCentTrunkValidEv
event is delivered when the trunk
moves to the CallCenterTrunk.VALID_TRUNK
state and a
CallCentTrunkInvalidEv
event is devliered when the trunk moves
to the CallCenterTrunk.INALID_TRUNK
state.
CallCenterCall
,
CallCenterCallObserver
,
CallCentTrunkValidEv
,
CallCentTrunkInvalidEv
Field Summary | |
static int |
INCOMING_TRUNK
Trunk type: The trunk is incoming. |
static int |
INVALID_TRUNK
Trunk state: The trunk is invalid. |
static int |
OUTGOING_TRUNK
Trunk type: The trunk is outgoing. |
static int |
UNKNOWN_TRUNK
Trunk type: The trunk is unknown. |
static int |
VALID_TRUNK
Trunk state: The trunk is valid. |
Method Summary | |
Call |
getCall()
Returns the Call associated with this trunk. |
java.lang.String |
getName()
Returns the name of the trunk. |
int |
getState()
Returns the current state of the Trunk. |
int |
getType()
Returns the type of trunk. |
Field Detail |
public static final int INVALID_TRUNK
public static final int VALID_TRUNK
public static final int INCOMING_TRUNK
public static final int OUTGOING_TRUNK
public static final int UNKNOWN_TRUNK
Method Detail |
public java.lang.String getName()
public int getState()
public int getType()
public Call getCall()
|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |