JSR-043: JTAPI-1.4

javax.telephony
Interface AddressEvent

All Superinterfaces:
Event
All Known Subinterfaces:
ACDAddressEvent, CallControlAddressEvent

public interface AddressEvent
extends Event

The AddressEvent interface is the base interface for all Address-related events. All Address-related events must extend this interface. Events which extend this interface are reported via the AddressListener interface.

An individual AddressEvent conveys one of a series of different possible Address state changes; the specific Address state change is indicated by the Event.getID() value returned by the event.

The only event ID defined in the core package for the Address is the ADDRESS_EVENT_TRANSMISSION_ENDED event.

This event ID is reported via a method in the AddressListener interface (see CallListener.CallInvalidEvent())

The AddressEvent.getAddress() method on this interface returns the Address associated with the Address event.

See Also:
Event, AddressListener, Address

Field Summary
static int ADDRESS_EVENT_TRANSMISSION_ENDED
          The ADDRESS_EVENT_TRANSMISSION_ENDED event indicates that the application will no longer receive Address events on the instance of the AddressListener.
 
Fields inherited from interface javax.telephony.Event
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_NORMAL, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_UNKNOWN
 
Method Summary
 Address getAddress()
          Returns the Address associated with this Address event.
 
Methods inherited from interface javax.telephony.Event
getCause, getID, getMetaEvent, getSource
 

Field Detail

ADDRESS_EVENT_TRANSMISSION_ENDED

public static final int ADDRESS_EVENT_TRANSMISSION_ENDED
The ADDRESS_EVENT_TRANSMISSION_ENDED event indicates that the application will no longer receive Address events on the instance of the AddressListener.

This constant indicates a specific event passed via a AddressEvent event, and is reported on the AddressListenerEnded method of the AddressListener interface.

Method Detail

getAddress

public Address getAddress()
Returns the Address associated with this Address event.

Returns:
The Address associated with this event.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org