|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPAddressProviderIF
The IPAddressProviderIF interface defines a simple Java "wrapper" interface into Cisco CallManager
DeviceListX API. Any class implementing the IPAddressProviderIF interface
is expected to query the CallManager for a current list of active devices and their IP addresses.
The implementation is expected to cache this information and control its refresh interval in order
to minimize the load on the CallManager server, as well as the application server.
The implementation should only report the IP addresses of devices which are actively registered to a CallManager
server - any IP addresses listed for devices in an un-registered state, should be ignored.
The IPAddressProvider class included in this SDK is an implementation of the
IPAddressProviderIF interface.
IPAddressProvider| Method Summary | |
|---|---|
java.util.HashMap |
getAllIPAddresses()
This method retrieves all of the current active IP addresses of devices. |
java.lang.String |
getIPAddress(Phone phone)
This method retrieves the current active IP address of the specified Phone. |
java.lang.String[] |
getIPAddresses(Phone[] phones)
This method retrieves the current active IP addresses of the specified Phones. |
Phone |
getPhone(java.lang.String ipAddress)
This method does the inverse of the previous methods - it accepts an IP address as a parameter and searches for the Phone currently using that address. |
| Method Detail |
|---|
java.lang.String getIPAddress(Phone phone)
phone - the Phone for which an IP address is requested
null will be returned.java.lang.String[] getIPAddresses(Phone[] phones)
phones - an Array of Phones for which IP addresses are requested
null.java.util.HashMap getAllIPAddresses()
Phone getPhone(java.lang.String ipAddress)
ipAddress - a String containing the current IP address of the requested Phone
null if the address could not be found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||