Skip navigation links

Oracle Communications Services Gatekeeper OAM Java API Reference
6.0

E55516-02


oracle.ocsg.sms.smpp.management
Interface SmsNotificationMBean


public interface SmsNotificationMBean

Method Summary
 int countOfflineNotificationCache()
          Counts the number of entries in the offline notification cache.
 int countOnlineNotificationCache()
          Counts the number of entries in the online notification cache.
 int countSmsCache()
          Counts the number of entries in the SMS caches (the sum of MT and MO caches).
 String enableReceiveSms(String shortCode, String criteria, String appInstanceID)
          Adds an offline notification for applications that will poll for MO messages.
 NotificationInfo getOfflineNotificationInfo(String correlator)
          Gets the notification associated with the specified correlator.
 NotificationInfo getOnlineNotificationInfo(String correlator)
          Gets the notification associated with the specified correlator.
 String[] listDeliveryStatusNotificationInfo()
          List all avaiable deliveryStatus notification information
 String[] listOfflineNotificationInfo()
          Lists all offline notifications (added using the OAM enableReceiveSms method).
 String[] listOnlineBinaryNotificationInfo()
          Lists all online Binary notifications (added using startBinarySmsNotification).
 NotificationInfo[] listOnlineNotificationInfo()
          Lists all online notifications (added using startSmsNotification).
 void modifyOnlineNotificationInfo(String correlator, String endPoint, String shortCode, String criteria, String appInstGroupID)
          Modifies an existing Online SMS notification using an existing correlator.
 void removeDeliveryStatusNotificationInfo(String registrationId)
          Removes a delivery status notification information by prompt registrationId.
 void removeOfflineNotificationInfo(String registrationIdentifier)
          Removes an offline notification that was added using the OAM enableReceiveSms method.
 void removeOnlineBinaryNotificationInfo(String correlator)
          Removes the specified online binary sms notification that was added using OAM interfaces or application interfaces (startBinarySmsNotification).
 void removeOnlineNotificationInfo(String correlator)
          Removes the specified online notification that was added using OAM interfaces or application interfaces (startSmsNotification).
 String startBinarySmsNotification(String endpoint, String shortCode, String appInstanceID)
          Add an online binary sms notification for applications that for some reason can not (or are not allowed) call the startBinarySmsNotification method.
 String startDeliveryStatusNotification(String endpoint, String senderAddress, String clientCorrelator, String notificationFormat, String callbackData, String appInstanceID, String serviceType)
          Adds a delivery status notification for applications that for some reason can not (or are not allowed) call the start DeliveryStatus Notification method (OneAPI).
 String startSmsNotification(String endpoint, String shortCode, String criteria, String appInstanceID, String clientCorrelator, String callbackData, String notificationFormat, String serviceType)
          Adds an online notification for applications that for some reason can not (or are not allowed) call the startSmsNotification method.

 

Method Detail

countOfflineNotificationCache

public int countOfflineNotificationCache()
Counts the number of entries in the offline notification cache.

countOnlineNotificationCache

public int countOnlineNotificationCache()
Counts the number of entries in the online notification cache.

countSmsCache

public int countSmsCache()
Counts the number of entries in the SMS caches (the sum of MT and MO caches).

enableReceiveSms

public String enableReceiveSms(String shortCode,
                               String criteria,
                               String appInstanceID)
Adds an offline notification for applications that will poll for MO messages. MO messages matching this notification will not result in a callback to an application. Instead, the application has to use the correlator returned by this method and poll for new messages.
Parameters:
shortCode - The destination address/service activation number of the short message with URI prefixed, for example, "tel:6001".
criteria - The text to match against to determine the application to receive the notification.
appInstanceID - The applicationInstanceID to associate with this notification.
Returns:
the correlator uniquely identifying the new notification.

getOfflineNotificationInfo

public NotificationInfo getOfflineNotificationInfo(String correlator)
Gets the notification associated with the specified correlator. An offline notification is a notification that has been added using the OAM enableReceiveSms method.

getOnlineNotificationInfo

public NotificationInfo getOnlineNotificationInfo(String correlator)
Gets the notification associated with the specified correlator. An online notification is a notification that has been added using startSmsNotification, through OAM interfaces or through an application interface.

listDeliveryStatusNotificationInfo

public String[] listDeliveryStatusNotificationInfo()
List all avaiable deliveryStatus notification information
Returns:
array of delivery status information

listOfflineNotificationInfo

public String[] listOfflineNotificationInfo()
Lists all offline notifications (added using the OAM enableReceiveSms method).

listOnlineBinaryNotificationInfo

public String[] listOnlineBinaryNotificationInfo()
Lists all online Binary notifications (added using startBinarySmsNotification).

listOnlineNotificationInfo

public NotificationInfo[] listOnlineNotificationInfo()
Lists all online notifications (added using startSmsNotification).

modifyOnlineNotificationInfo

public void modifyOnlineNotificationInfo(String correlator,
                                         String endPoint,
                                         String shortCode,
                                         String criteria,
                                         String appInstGroupID)
Modifies an existing Online SMS notification using an existing correlator.

removeDeliveryStatusNotificationInfo

public void removeDeliveryStatusNotificationInfo(String registrationId)
Removes a delivery status notification information by prompt registrationId.

removeOfflineNotificationInfo

public void removeOfflineNotificationInfo(String registrationIdentifier)
Removes an offline notification that was added using the OAM enableReceiveSms method.

removeOnlineBinaryNotificationInfo

public void removeOnlineBinaryNotificationInfo(String correlator)
Removes the specified online binary sms notification that was added using OAM interfaces or application interfaces (startBinarySmsNotification).

removeOnlineNotificationInfo

public void removeOnlineNotificationInfo(String correlator)
Removes the specified online notification that was added using OAM interfaces or application interfaces (startSmsNotification).

startBinarySmsNotification

public String startBinarySmsNotification(String endpoint,
                                         String shortCode,
                                         String appInstanceID)
Add an online binary sms notification for applications that for some reason can not (or are not allowed) call the startBinarySmsNotification method.
Parameters:
endpoint - The notification endpoint.
shortCode - The destination address/service activation number of the short message.
appInstanceID - The applicationInstanceID to associate with this notification.

startDeliveryStatusNotification

public String startDeliveryStatusNotification(String endpoint,
                                              String senderAddress,
                                              String clientCorrelator,
                                              String notificationFormat,
                                              String callbackData,
                                              String appInstanceID,
                                              String serviceType)
Adds a delivery status notification for applications that for some reason can not (or are not allowed) call the start DeliveryStatus Notification method (OneAPI).
Parameters:
endpoint - The notification URL.
senderAddress - The target sender address that the notification will be triggered.
clientCorrelator - The correlator which is passed by application for duplication check.
notificationFormat - Currently only two possible values: "XML", "JSON" .
callbackData - The callbackData which is passed by application for association of request/response/notification.
appInstanceID -
serviceType - "0"= parlayX, "1" =parlayRest default is "1".
Returns:
registrationId

startSmsNotification

public String startSmsNotification(String endpoint,
                                   String shortCode,
                                   String criteria,
                                   String appInstanceID,
                                   String clientCorrelator,
                                   String callbackData,
                                   String notificationFormat,
                                   String serviceType)
Adds an online notification for applications that for some reason can not (or are not allowed) call the startSmsNotification method.
Parameters:
endpoint - The notification endpoint.
shortCode - The destination address/service activation number of the short message.
criteria - The text to match against to determine the application to receive the notification.
appInstanceID - The applicationInstanceID to associate with this notification.
clientCorrelator - correlator from application side.
callbackData - callbackData.
notificationFormat - "XML" or "JASON", null means "JSON".
serviceType - "1" = OneAPI/parlayRest and "0" = ParlayX21/30, default is "0".

Skip navigation links

Oracle Communications Services Gatekeeper OAM Java API Reference
6.0

E55516-02


Copyright © 2008, 2015, Oracle and/or its affiliates. All rights reserved.