|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IpMessagingManagerConnection
This interface is the 'service manager' interface for the Generic Messaging Service. The generic messaging manager interface provides the management functions to the generic messaging service. The application programmer can use this interface to open mailbox objects and also to enable or disable event notifications.
| Method Summary | |
|---|---|
void |
disableMessagingNotification(int assignmentID)
This method is used by the application to disable call notifications. |
int |
enableMessagingNotification(TpMessagingEventCriteria eventCriteria)
This method is used to enable messaging notifications so that events can be sent to the application. |
IpMailboxConnection |
getIpMailboxConnection(TpMailboxIdentifier mailboxIdentifier)
Obtains Access To a IpMailboxConnection interface |
TpMailboxIdentifier |
openMailbox(TpAddress mailboxID,
java.lang.String authenticationInfo)
This method opens a mailbox for the application. |
| Methods inherited from interface org.mobicents.csapi.jr.slee.IpServiceConnection |
|---|
closeConnection |
| Method Detail |
|---|
IpMailboxConnection getIpMailboxConnection(TpMailboxIdentifier mailboxIdentifier)
throws javax.slee.resource.ResourceException
ResourceException - If it is not possible to create the connection
TpMailboxIdentifier openMailbox(TpAddress mailboxID,
java.lang.String authenticationInfo)
throws TpCommonExceptions,
P_GMS_INVALID_MAILBOX,
P_GMS_INVALID_AUTHENTICATION_INFORMATION,
javax.slee.resource.ResourceException
mailboxID - Specifies the identity of the mailbox. If the mailbox chosen is invalid, the error code P_GMS_INVALID_MAILBOX is returned.authenticationInfo - Authentication information needed for the application to open a mailbox in the messaging system, such as a key or password. If the authentication process is considered strong enough for the application to gain access to the mailbox, then the authentication information will be an empty string. If the authentication information is not valid, the error code P_GMS_INVALID_AUTHENTICATION_INFORMATION is returned.
TpCommonExceptions
P_GMS_INVALID_MAILBOX
P_GMS_INVALID_AUTHENTICATION_INFORMATION
javax.slee.resource.ResourceException
int enableMessagingNotification(TpMessagingEventCriteria eventCriteria)
throws TpCommonExceptions,
P_INVALID_CRITERIA,
javax.slee.resource.ResourceException
eventCriteria - Specifies the event specific criteria used by the application to define the event required.
TpCommonExceptions
P_INVALID_CRITERIA
javax.slee.resource.ResourceException
void disableMessagingNotification(int assignmentID)
throws TpCommonExceptions,
P_INVALID_ASSIGNMENT_ID,
javax.slee.resource.ResourceException
assignmentID - Specifies the assignment ID given by the generic messaging manager interface when the previous enableNotification() was called. If the assignment ID does not correspond to one of the valid assignment IDs, the framework will return the error code P_INVALID_ASSIGNMENTID.
TpCommonExceptions
P_INVALID_ASSIGNMENT_ID
javax.slee.resource.ResourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||