|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the methods required by all TCAP user applications to receive and process JAIN TCAP Events that are emitted by an object implementing the JainTcapProvider interface. It must be noted that any object that implements the:
A TCAP User application will only receive Dialogue and Component handling indication Events once it has registered as an EventListener of a JainTcapProviderImpl. The User application will register with the JainTcapProviderImpl with an User Address by invoking the ProviderImpl's addJainTcapListener() method. Any Events addressed to a User Address belonging to an User Application will be passed to that User application.
The User application will use the JainTcapProviderImpl to send TCAP messages by sending Dialogue Request Events and Component Request Events to that JainTcapProviderImpl. These Events will be handled by the JainTcapProviderImpl's sendComponentReqEvent() and sendDialogueReqEvent() methods. The User application must send Dialogue Request Events with the same Originating Transaction Id to the same JainTcapProviderImpl.
JainTcapProvider
Method Summary | |
void |
addUserAddress(TcapUserAddress userAddress)
Adds a TcapUserAddress to the vector of User Addresses used by a JainTcapListenerImpl. |
java.util.Vector |
getUserAddressList()
Returns the list of User Addresses used by this JainTcapListenerImpl. |
void |
processComponentIndEvent(ComponentIndEvent event)
Processes a Component Indication Event emitted by the JainTcapProvider. |
void |
processDialogueIndEvent(DialogueIndEvent event)
Processes a Dialogue Indication Event emitted by the JainTcapProvider. |
void |
processTcapError(TcapErrorEvent error)
Processes an error Event emitted by a JainTcapProvider. |
void |
removeUserAddress(TcapUserAddress userAddress)
Removes a TcapUserAddress from the list of User Addresses used by a JainTcapListenerImpl. |
Method Detail |
public void processComponentIndEvent(ComponentIndEvent event)
event
- the Component Indication Event to be processed.public void processDialogueIndEvent(DialogueIndEvent event)
event
- The Dialogue Indication Event to be processed.public void processTcapError(TcapErrorEvent error)
error
- the error event to be processed.public void addUserAddress(TcapUserAddress userAddress)
userAddress
- the User Address to be added to this JainTcapListenerImpl's vector
of User Addresses.public void removeUserAddress(TcapUserAddress userAddress)
userAddress
- the User Address to be removed from this JainTcapListenerImpl's
vector of User Addresses.public java.util.Vector getUserAddressList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |