Class java.telephony.callcenter.CallCenterTrunk
All Packages Class Hierarchy This Package Previous Next Index
Class java.telephony.callcenter.CallCenterTrunk
java.lang.Object
|
+----java.telephony.callcenter.CallCenterTrunk
- public class CallCenterTrunk
- extends Object
The CallCenterTrunk class represents a Trunk interface on a switch.
The first attribute is it "name". The Trunk's name identifies which
Trunk interface in the Provider is being used.
The second attribute of a Trunk is its "interface type". The type
indicates whether the Trunk is an Incoming, Outgoing or Unknown
type of interface.
-
INCOMING_TRUNK
- Trunk type: The Trunk Interface is incoming.
-
OUTGOING_TRUNK
- Trunk type: The Trunk interface is outgoing.
-
UNKNOWN_TRUNK
- Trunk type: The Trunk interface is unknown.
-
CallCenterTrunk()
-
-
CallCenterTrunk(String)
- This constructor is the default constructor, which only takes the
name to apply to this Trunk.
-
CallCenterTrunk(String, int)
- This constructor takes the address to apply this trunk
and the type of trunk.
-
getName()
- Returns the Trunk's name.
-
getType()
- Returns the type of trunk, either unknown, incoming or
outgoing.
INCOMING_TRUNK
public final static int INCOMING_TRUNK
- Trunk type: The Trunk Interface is incoming.
OUTGOING_TRUNK
public final static int OUTGOING_TRUNK
- Trunk type: The Trunk interface is outgoing.
UNKNOWN_TRUNK
public final static int UNKNOWN_TRUNK
- Trunk type: The Trunk interface is unknown.
CallCenterTrunk
public CallCenterTrunk()
CallCenterTrunk
public void CallCenterTrunk(String name)
- This constructor is the default constructor, which only takes the
name to apply to this Trunk. The Trunk type is unknown.
CallCenterTrunk
public void CallCenterTrunk(String name,
int type)
- This constructor takes the address to apply this trunk
and the type of trunk.
getName
public String getName()
- Returns the Trunk's name.
- Returns:
- The name of this trunk.
getType
public int getType()
- Returns the type of trunk, either unknown, incoming or
outgoing.
- Returns:
- The type of trunk.
All Packages Class Hierarchy This Package Previous Next Index