|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Runtime MBean to configure the Presence plugin.
Field Summary | |
static int |
defaultNotificationCount The default notification count value. |
static int |
defaultNotificationDuration The value (in seconds) of the default notification duration. |
static int |
notificationCleanupTimerValue The value (in seconds) of the timer used for checking and cleanup of old notifications. |
static String |
presenceServerAddress Presence Server address (or other node where subscribe requests should be sent). |
static String |
presenceXDMSAddress XCAP root URI of the XDM Server (for example, http://127.0.0.1:8080/services) |
static String |
presenceXDMSPassword The password for HTTP Authentication of XDMS. |
static String |
presenceXDMSPresrulesPostfix The last-part of the XCAP Document selector for presence rules (for example, /presrules). |
static String |
presenceXDMSPresrulesPrefix The pre-part of the XCAP Document selector for presence rules (for example, /pres-rules/users/). |
static String |
presenceXDMSProviderClassName The class name of XDM Server provider. |
static String |
presenceXDMSUsername The username for HTTP Authentication of XDMS. |
static int |
subscribeExpiryValue The value (in seconds) of the suggested subscription lifetime (default 300). |
static int |
subscriptionCleanupTimerValue The value (in seconds) of the timer used for checking and cleanup of old subscriptions. |
Method Summary | |
void |
clearCache(String cacheToClear) Important: Use with care. |
String |
getApplicationInstance(String uri) Gets the application instance ID associated to the supplied URI. |
String |
getApplicationInstanceSIPURI(String applicationInstanceID) Gets the URI associated to the supplied application instance ID. |
int |
getDefaultNotificationCount() Returns the default notification count value. |
int |
getDefaultNotificationDuration() Returns the value (in seconds) of the default notification duration. |
int |
getNotificationCleanupTimerValue() Gets the value of the timer used for checking and cleanup of old notifications. |
String |
getPresenceServerAddress() Returns the presence server address (or other node where subscribe requests should be sent). |
String |
getPresenceXDMSAddress() Returns the XCAP root URI of the XDM Server (for example, http://127.0.0.1:8080/services) |
String |
getPresenceXDMSPassword() Returns the password for HTTP Authentication of XDMS. |
String |
getPresenceXDMSPresrulesPostfix() Returns the last-part of the XCAP Document selector for Presence rules. |
String |
getPresenceXDMSPresrulesPrefix() Returns the pre-part of the XCAP Document selector for presence rules. |
String |
getPresenceXDMSProviderClassName() Returns the class name of XDM Server provider. |
String |
getPresenceXDMSUsername() Returns the username for HTTP Authentication of XDMS. |
int |
getSubscribeExpiryValue() Returns the value (in seconds) of the suggested subscription lifetime (default 300). |
int |
getSubscriptionCleanupTimerValue() Gets the value of the timer used for checking and cleanup of old subscriptions. |
String[] |
listNotificationsCache() Debug operation left for troubleshooting. |
String[] |
listSubscriptionsCache() Debug operation left for troubleshooting. |
String[] |
listURIMappingCache() Debug operation left for troubleshooting. |
void |
removeApplicationInstanceFromCache(String applicationInstanceID) Removes entries that are associated to the supplied application instance ID. |
void |
removeNotification(String appInstGrpId, String presentity) Removes a notification. |
void |
removeSubscription(String appInstGrpId, String presentity) Removes a subscription and notification if there is one. |
void |
setApplicationInstanceSIPURI(String applicationInstanceID, String URI) Associate a SIP URI with an application instance. |
void |
setDefaultNotificationCount(int count) Sets the default notification count value. |
void |
setDefaultNotificationDuration(int seconds) Sets the value (in seconds) of the default notification duration. |
void |
setNotificationCleanupTimerValue(int seconds) Sets the value (in seconds) of the timer used for checking and cleanup of old notifications. |
void |
setPresenceServerAddress(String s) Sets the presence server address (or other node where subscribe requests should be sent). |
void |
setPresenceXDMSAddress(String address) Sets the XCAP root URI of the XDM Server (for example, http://127.0.0.1:8080/services) |
void |
setPresenceXDMSPassword(String password) Sets the password for HTTP Authentication of XDMS. |
void |
setPresenceXDMSPresrulesPostfix(String postfix) Sets the last-part of the XCAP Document selector for Presence rules. |
void |
setPresenceXDMSPresrulesPrefix(String prefix) Sets the pre-part of the XCAP Document selector for presence rules. |
void |
setPresenceXDMSProviderClassName(String className) Sets the class name of the XDM Server provider. |
void |
setPresenceXDMSUsername(String username) Sets the username for HTTP Authentication of XDMS. |
void |
setSubscribeExpiryValue(int seconds) Sets the value (in seconds) of the suggested subscription lifetime (default 300). |
void |
setSubscriptionCleanupTimerValue(int seconds) Sets the value (in seconds) of the timer used for checking and cleanup of old subscriptions. |
void |
updateSubscriptionToBeConfirmed(String presentity, String watcher) Debug operation left for testing. |
Field Detail |
public static final int defaultNotificationCount
public static final int defaultNotificationDuration
Scope: Cluster
public static final int notificationCleanupTimerValue
Scope: Cluster
public static final String presenceServerAddress
Scope: Cluster
public static final String presenceXDMSAddress
Scope: Cluster
public static final String presenceXDMSPassword
Scope: Cluster
public static final String presenceXDMSPresrulesPostfix
Scope: Cluster
public static final String presenceXDMSPresrulesPrefix
Scope: Cluster
public static final String presenceXDMSProviderClassName
Scope: Cluster
public static final String presenceXDMSUsername
Scope: Cluster
public static final int subscribeExpiryValue
Scope: Cluster
public static final int subscriptionCleanupTimerValue
Scope: Cluster
Method Detail |
public void clearCache(String cacheToClear) throws ManagementException
Scope: Cluster
cacheToClear
- is the cache to clear. Valid options are {NOTIFICATIONS,SUBSCRIPTIONS,URIMAPPINGS,ALL}. For example, invoking this method with ALL will clear all caches.ManagementException.
ManagementException
public String getApplicationInstance(String uri) throws StorageException
Scope: Cluster
uri
- the sip uri.StorageException
- if the underlying storage facility fails.public String getApplicationInstanceSIPURI(String applicationInstanceID) throws StorageException
Scope: Cluster
applicationInstanceID
- The application instance ID.StorageException
- if the underlying storage facility fails.public int getDefaultNotificationCount() throws ManagementException
Scope: Cluster
ManagementException
public int getDefaultNotificationDuration() throws ManagementException
Scope: Cluster
ManagementException
public int getNotificationCleanupTimerValue()
Scope: Cluster
public String getPresenceServerAddress() throws ManagementException
Scope: Cluster
ManagementException
public String getPresenceXDMSAddress() throws ManagementException
Scope: Cluster
ManagementException
public String getPresenceXDMSPassword() throws ManagementException
Scope: Cluster
ManagementException
public String getPresenceXDMSPresrulesPostfix() throws ManagementException
Scope: Cluster
ManagementException
public String getPresenceXDMSPresrulesPrefix() throws ManagementException
Scope: Cluster
ManagementException
public String getPresenceXDMSProviderClassName() throws ManagementException
Scope: Cluster
ManagementException
public String getPresenceXDMSUsername() throws ManagementException
Scope: Cluster
ManagementException
public int getSubscribeExpiryValue() throws ManagementException
Scope: Cluster
ManagementException
public int getSubscriptionCleanupTimerValue()
Scope: Cluster
public String[] listNotificationsCache() throws ManagementException
Scope: Cluster
ManagementException
- if lookup failed.public String[] listSubscriptionsCache() throws ManagementException
Scope: Cluster
ManagementException
- if lookup failed.public String[] listURIMappingCache() throws ManagementException
Scope: Cluster
ManagementException
- if lookup failed.public void removeApplicationInstanceFromCache(String applicationInstanceID) throws ManagementException
Scope: Cluster
applicationInstanceID
- The application instance ID.ManagementException.
ManagementException
public void removeNotification(String appInstGrpId, String presentity) throws ManagementException
Scope: Cluster
appInstGrpId
- The userid that identifies this subscription.presentity
- Presentity.ManagementException
- if operation is not successful.public void removeSubscription(String appInstGrpId, String presentity) throws ManagementException
Scope: Cluster
appInstGrpId
- The userid that identifies this subscription.presentity
- Presentity.ManagementException
- if operation is not successful.public void setApplicationInstanceSIPURI(String applicationInstanceID, String URI) throws StorageException, URISyntaxException
Scope: Cluster
applicationInstanceID
- the application instance IDURI
- The SIP URI.URISyntaxException.
StorageException
- if the SIP URI is already associated with another application instance or if the underlying storage facility fails.URISyntaxException
public void setDefaultNotificationCount(int count) throws ManagementException
Scope: Cluster
count
- default notification count valueManagementException
public void setDefaultNotificationDuration(int seconds) throws ManagementException
Scope: Cluster
seconds
- value (in seconds) of the default notification durationManagementException
public void setNotificationCleanupTimerValue(int seconds) throws ManagementException
Scope: Cluster
ManagementException
public void setPresenceServerAddress(String s) throws ManagementException
Scope: Cluster
s
- presence server addressManagementException
public void setPresenceXDMSAddress(String address) throws ManagementException
Scope: Cluster
address
- XCAP root URI of the XDM ServerManagementException
public void setPresenceXDMSPassword(String password) throws ManagementException
Scope: Cluster
password
- HTTP authentication passwordManagementException
public void setPresenceXDMSPresrulesPostfix(String postfix) throws ManagementException
Scope: Cluster
postfix
- last-part of the XCAP Document selector for Presence rulesManagementException
public void setPresenceXDMSPresrulesPrefix(String prefix) throws ManagementException
Scope: Cluster
prefix
- pre-part of the XCAP Document selector for presence rulesManagementException
public void setPresenceXDMSProviderClassName(String className) throws ManagementException
Scope: Cluster
className
- the class name of the XDM Server providerManagementException
public void setPresenceXDMSUsername(String username) throws ManagementException
Scope: Cluster
username
- HTTP authentication usernameManagementException
public void setSubscribeExpiryValue(int seconds) throws ManagementException
Scope: Cluster
seconds
- value (in seconds) of the suggested subscription lifetimeManagementException
public void setSubscriptionCleanupTimerValue(int seconds) throws ManagementException
Scope: Cluster
ManagementException
public void updateSubscriptionToBeConfirmed(String presentity, String watcher) throws ManagementException
Scope: Cluster
ManagementException.
ManagementException
|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |