com.avaya.jtapi.tsapi
Class ConnectionID

java.lang.Object
  extended bycom.avaya.jtapi.tsapi.ASN1
      extended bycom.avaya.jtapi.tsapi.ASNSequence
          extended bycom.avaya.jtapi.tsapi.ConnectionID
All Implemented Interfaces:
LucentConnectionID

public final class ConnectionID
extends com.avaya.jtapi.tsapi.ASNSequence
implements LucentConnectionID

This class exposes the TSAPI ConnectionID, for implementors of other vendors' private data. The contents of the ConnectionID may be unpacked using the LucentConnectionID interface.

See Also:
LucentConnectionID

Field Summary
static short DYNAMIC_ID
           
static short STATIC_ID
           
 
Method Summary
 boolean equals(java.lang.Object anObject)
           
 int getCallID()
          returns the CallID of the call associated with this ConnectionID.
 java.lang.String getDeviceID()
          returns the device ID of the device associated with this ConnectionID.
 int getDevIDType()
          returns the devIDType of the device associated with this ConnectionID, either STATIC or DYNAMIC.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

STATIC_ID

public static final short STATIC_ID
See Also:
Constant Field Values

DYNAMIC_ID

public static final short DYNAMIC_ID
See Also:
Constant Field Values
Method Detail

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object anObject)

toString

public java.lang.String toString()

getDeviceID

public java.lang.String getDeviceID()
Description copied from interface: LucentConnectionID
returns the device ID of the device associated with this ConnectionID.

Specified by:
getDeviceID in interface LucentConnectionID

getCallID

public int getCallID()
Description copied from interface: LucentConnectionID
returns the CallID of the call associated with this ConnectionID. A callid value may be used to get a reference to a Call object using ITsapiProviderPrivate.getCall(int).

Specified by:
getCallID in interface LucentConnectionID
See Also:
ITsapiProviderPrivate

getDevIDType

public int getDevIDType()
Description copied from interface: LucentConnectionID
returns the devIDType of the device associated with this ConnectionID, either STATIC or DYNAMIC.

Specified by:
getDevIDType in interface LucentConnectionID
See Also:
ConnectionID


Copyright © 2005 Avaya All Rights Reserved.