|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cisco.scabb.servconf.mgmt.SCABB
public class SCABB
SCABB supplies login and logout functions to the SCE. The handle returned by the login serves all of the Service Configuration and Subscriber API functions which directly affect the SCE.
ServiceConfigApi| Method Summary | |
|---|---|
static void |
activateLicense(java.lang.String user,
java.lang.String key)
Deprecated. license is no longer required. |
static void |
addNotificationListener(NotificationListener listener)
Subscribes the specific SCABB notification listener to recieve notifications regarding all the operations performed by the SCABB API. |
static void |
fireNotification(Notification notification)
Used to send a notification to the listeners defined by the function addNotificationListener(NotificationListener) |
static void |
fireNotification(java.lang.String msg)
Fire a notification with the given message |
static void |
fireWarningNotification(java.lang.String msg)
Fire a warning notification with the given message |
static java.io.InputStream |
getDefaultProtocolFamilies()
Get the default protocol families for this class |
static byte |
getLicenseType()
Returns the license type |
static boolean |
isAllowedFullyFunctionalMode()
Deprecated. license system was deprecated |
static boolean |
isServConfCompatibleWithLicense(ServiceConfig servConf)
Deprecated. license system was deprecated |
static ConnectionApi |
login(com.pcube.management.framework.client.SessionObject sessionObject)
Connects to a device by using an existing SessionObject. |
static ConnectionApi |
login(java.lang.String hostName,
java.lang.String userName,
java.lang.String password)
Deprecated. use Cisco SM API instead |
static ConnectionApi |
login(java.lang.String hostName,
java.lang.String userName,
java.lang.String password,
byte deviceType)
Connects to the SCE device. |
static void |
logout(ConnectionApi connectionApi)
Disconnects from the SCE. |
static void |
removeNotificationListener(NotificationListener listener)
Unsubscribes the SCABB listener from recieving notifications regarding SCABB API operations. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ConnectionApi login(java.lang.String hostName,
java.lang.String userName,
java.lang.String password)
throws ConnectionFailedException
logout(ConnectionApi)
action.
hostName - the SM host addressuserName - the user namepassword - the password
ConnectionFailedException - if the login failed. The failure reason can be retrieved from
the ConnectionFailedException.
public static ConnectionApi login(java.lang.String hostName,
java.lang.String userName,
java.lang.String password,
byte deviceType)
throws ConnectionFailedException
Connection.SE_DEVICEto connect to the SCE. logout(ConnectionApi)action.
hostName - the device host addressuserName - the user namepassword - the passworddeviceType - the device type
ConnectionFailedException - if the login failed. The failure reason can be retrieved from
the ConnectionFailedException.public static ConnectionApi login(com.pcube.management.framework.client.SessionObject sessionObject)
logout(ConnectionApi)action.
sessionObject - the SessionObject to the SCE device
public static void logout(ConnectionApi connectionApi)
connection - the connection which keeps a handle to the connection to the
SCE
public static void activateLicense(java.lang.String user,
java.lang.String key)
throws java.lang.IllegalArgumentException
user - the user namekey - the user's unique key
java.lang.IllegalArgumentException - if the registration key is invalidpublic static byte getLicenseType()
Engage.LICENSE_VIEW,
Engage.LICENSE_CAPACITY_CONTROL,
Engage.LICENSE_TIERED_CONTROLpublic static void addNotificationListener(NotificationListener listener)
listener - the NotificationListenerpublic static void removeNotificationListener(NotificationListener listener)
listener - the NotificationListener to be removed
java.lang.IllegalArgumentException - if the listener was never subscribed to listen to SCABB
notificationspublic static void fireNotification(Notification notification)
addNotificationListener(NotificationListener)
notification - the notification to be sentpublic static boolean isServConfCompatibleWithLicense(ServiceConfig servConf)
servConf - the Service Configuration to check
public static boolean isAllowedFullyFunctionalMode()
public static void fireNotification(java.lang.String msg)
msg - the notification message to be sentpublic static void fireWarningNotification(java.lang.String msg)
msg - the notification message to be sentpublic static java.io.InputStream getDefaultProtocolFamilies()
Class.getResourceAsStream(java.lang.String)
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||