|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Describe the basic interface of a connection.
Its implementation allows to manage the signalling related to a call.
| Field Summary | |
static int |
ALERTING
Call is alerting Incoming: ACM has been sent Outgoing: ACM has been received. |
static int |
CONNECTED
Call is established Incoming: Channel has been connected and ANM has been sent Outgoing: ANM has been received |
static int |
DISCONNECTED
Call is released. |
static int |
IDLE
Initial state immediatly after creation |
static int |
INPROGRESS
Call is being processed in the network Outgoing call only |
static int |
MAX_STATE_VALUE
|
static String[] |
sName
Connection states |
static int |
UNKNOWN
Error state |
| Method Summary | |
void |
connect()
Connect the call. |
void |
disconnect()
Disconnect the call. |
Address |
getCalledAddress()
Return the called address |
Address |
getCallerAddress()
Return the caller address |
CallSpec |
getCallSpec()
|
void |
receive()
For incoming calls, send backward ack |
| Field Detail |
public static final int ALERTING
public static final int CONNECTED
public static final int DISCONNECTED
public static final int IDLE
public static final int INPROGRESS
public static final int MAX_STATE_VALUE
public static final String[] sName
public static final int UNKNOWN
| Method Detail |
public void connect()
throws AccessControlException
AccessControlException - if requested operation fails.
public void receive()
throws AccessControlException
AccessControlException
public void disconnect()
throws AccessControlException
AccessControlException - if requested operation fails.
public Address getCalledAddress()
throws AccessControlException
AccessControlException
public Address getCallerAddress()
throws AccessControlException
AccessControlException
public CallSpec getCallSpec()
throws AccessControlException
AccessControlException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||