com.cisco.jtapi.extensions
Interface CiscoProvTerminalIPAddressChangedEv

All Superinterfaces:
CiscoEv, CiscoProvEv, javax.telephony.events.Ev, javax.telephony.events.ProvEv

public interface CiscoProvTerminalIPAddressChangedEv
extends CiscoProvEv

Introduction

CiscoProvTerminalIPAddressChangedEv event is delivered to provider observer when the IP address of a terminal changes without the terminal getting unregistered

Since:
9.0.1


Field Summary
static int ID
           
 
Fields inherited from interface com.cisco.jtapi.extensions.CiscoProvEv
CAUSE_EM_LOGIN, CAUSE_EM_LOGIN_PROFILE_ADD, CAUSE_EM_LOGOUT, CAUSE_EM_LOGOUT_PROFILE_REMOVE, CAUSE_NORMAL
 
Fields inherited from interface javax.telephony.events.Ev
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_UNKNOWN, META_CALL_ADDITIONAL_PARTY, META_CALL_ENDING, META_CALL_MERGING, META_CALL_PROGRESS, META_CALL_REMOVING_PARTY, META_CALL_STARTING, META_CALL_TRANSFERRING, META_SNAPSHOT, META_UNKNOWN
 
Method Summary
 int getIPAddressingMode()
          returns the active IP Addressing mode of the terminal after the change.
 java.net.InetAddress getIPV4Address()
          returns the IPv4 address of the terminal.
 java.net.InetAddress getIPV6Address()
          returns the IPv6 address of the terminal If the active addressing mode is CiscoTerminal.IP_ADDRESSING_IPv4, it will return null.
 javax.telephony.Terminal getTerminal()
          returns the Terminal that is registered with Cisco Unified Communication Manager
 
Methods inherited from interface com.cisco.jtapi.extensions.CiscoProvEv
getCiscoCause
 
Methods inherited from interface javax.telephony.events.ProvEv
getProvider
 
Methods inherited from interface javax.telephony.events.Ev
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
 

Field Detail

ID

static final int ID
See Also:
Constant Field Values
Method Detail

getTerminal

javax.telephony.Terminal getTerminal()
returns the Terminal that is registered with Cisco Unified Communication Manager

Since:
9.0.1

getIPAddressingMode

int getIPAddressingMode()
returns the active IP Addressing mode of the terminal after the change. Based on this value applications can query either the Ipv4 or the Ipv6 address of the terminal. Addressing mode may be one of the values exposed on CiscoTerminal

getIPV4Address

java.net.InetAddress getIPV4Address()
returns the IPv4 address of the terminal. If the active addressing mode is CiscoTerminal.IP_ADDRESSING_IPv6, it will return null.

Returns:
InetAddress
Since:
9.0.1

getIPV6Address

java.net.InetAddress getIPV6Address()
returns the IPv6 address of the terminal If the active addressing mode is CiscoTerminal.IP_ADDRESSING_IPv4, it will return null.

Returns:
InetAddress
Since:
9.0.1