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.


Variable Index

 o INCOMING_TRUNK
Trunk type: The Trunk Interface is incoming.
 o OUTGOING_TRUNK
Trunk type: The Trunk interface is outgoing.
 o UNKNOWN_TRUNK
Trunk type: The Trunk interface is unknown.

Constructor Index

 o CallCenterTrunk()

Method Index

 o CallCenterTrunk(String)
This constructor is the default constructor, which only takes the name to apply to this Trunk.
 o CallCenterTrunk(String, int)
This constructor takes the address to apply this trunk and the type of trunk.
 o getName()
Returns the Trunk's name.
 o getType()
Returns the type of trunk, either unknown, incoming or outgoing.

Variables

 o INCOMING_TRUNK
  public final static int INCOMING_TRUNK
Trunk type: The Trunk Interface is incoming.
 o OUTGOING_TRUNK
  public final static int OUTGOING_TRUNK
Trunk type: The Trunk interface is outgoing.
 o UNKNOWN_TRUNK
  public final static int UNKNOWN_TRUNK
Trunk type: The Trunk interface is unknown.

Constructors

 o CallCenterTrunk
  public CallCenterTrunk()

Methods

 o 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.
 o CallCenterTrunk
  public void CallCenterTrunk(String name,
                              int type)
This constructor takes the address to apply this trunk and the type of trunk.
 o getName
  public String getName()
Returns the Trunk's name.

Returns:
The name of this trunk.
 o 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