|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface must be implemented by any Object representing the JAIN TCAP layer of any SS7 stack that interacts directly with a proprietary (stack vendor specific) implementation of the TCAP layer. This interface defines the methods that will be used by any registered TCAP User application implementing the JainTcapListener interface to send component primitives and dialogue handling primitives. It must be noted that any object that implements the:
This interface defines methods for:
JainTcapListener
Method Summary | |
void |
addJainTcapListener(JainTcapListener listener,
TcapUserAddress userAddress)
Adds a JainTcapListener to the list of registered Event Listeners of this JainTcapProviderImpl. |
JainTcapStack |
getAttachedStack()
Returns the JainTcapStackImpl that this JainTcapProviderImpl is attached to. |
int |
getNewDialogueId()
Returns a unique Dialogue Id to initiate a dialogue with another TCAP user. |
int |
getNewInvokeId(int dialogueId)
Returns a unique Invoke Id for identifying invoke requests within the dialogue identified by the supplied Dialogue Id. |
boolean |
isAttached()
Indicates if this JainTcapProviderImpl is attached to a JainTcapStackImpl. |
void |
releaseDialogueId(int dialogueId)
Release the dialogue Id back to the system. Note: In some SS7 stacks the TCAP Dialogue Id is automatically released following the end of a TCAP transaction. |
void |
releaseInvokeId(int invokeId,
int dialogueId)
Releases the unique Invoke Id, allowing it to be reused within the dialogue identified by the supplied Dialogue Id. |
void |
removeJainTcapListener(JainTcapListener listener)
Removes a JainTcapListener from the list of registered JainTcapListeners of this JainTcapProviderImpl. |
void |
sendComponentReqEvent(ComponentReqEvent event)
Sends a Component Request primitive into the TCAP layer of the SS7 protocol stack. |
void |
sendDialogueReqEvent(DialogueReqEvent event)
Sends a Dialogue Request primitive into the TCAP layer of the SS7 protocol stack. |
Method Detail |
public int getNewDialogueId() throws IdNotAvailableException
public void releaseDialogueId(int dialogueId)
dialogueId
- the Dialogue Id to be releasedpublic int getNewInvokeId(int dialogueId) throws IdNotAvailableException
JainTcapListeners
is identified by
a unique Dialogue Id. Note that the returned Invoke Id will be unique
for a particular Dialogue Id.dialogueId
- the Dialogue Id for which a new Invoke Id will be
returned.public void releaseInvokeId(int invokeId, int dialogueId)
invokeId
- the Invoke Id to be released back into the system.dialogueId
- the Dialogue Id identifying the dialogue in
which the invoke Id is used.public void sendComponentReqEvent(ComponentReqEvent event) throws MandatoryParameterNotSetException
event
- the Component Request event.ComponentReqEvent
.
It is recommended that the message detail returned in the
MandatoryParameterNotSetException
should be a String
of the form:
public void sendDialogueReqEvent(DialogueReqEvent event) throws MandatoryParameterNotSetException
event
- the Dialogue Request event to be sent into the stack.DialogueReqEvent
.
It is recommended that the detail message returned in the
MandatoryParameterNotSetException
should be a String
of the form:
public void addJainTcapListener(JainTcapListener listener, TcapUserAddress userAddress) throws java.util.TooManyListenersException, SS7ListenerAlreadyRegisteredException
JainTcapListener
- the JainTcapListenerImpl to be added.userAddress
- the User Address supported by the JainTcapListenerImpl.public void removeJainTcapListener(JainTcapListener listener) throws SS7ListenerNotRegisteredException
JainTcapistener
- the JainTcapListenerImpl to be removed from this JainTcapProviderImpl.public JainTcapStack getAttachedStack() throws ProviderNotAttachedException
public boolean isAttached()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |