|
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.ConnectionApi
public class ConnectionApi
A connection handle to the SCE. Used by all of the Service-Configuration and Subscriber API functions.
| Constructor Summary | |
|---|---|
ConnectionApi(Connection connection)
ConnectionApi Constructor, initializes a connection to the box |
|
ConnectionApi(com.pcube.management.framework.client.SessionObject session)
ConnectionApi Constructor, initializes a connection to the box |
|
| Method Summary | |
|---|---|
void |
addConnectionStateNotificationListener(ConnectionStateChangedListener listener)
Deprecated. no longer supported |
void |
authenticate(java.lang.String hostName,
java.lang.String deviceType,
java.lang.String userName,
java.lang.String password)
Authenticate the user at the specified device |
com.pcube.management.framework.client.SessionObject |
getSessionObject()
Gets the SessionObject to the SCABB device |
boolean |
isConnected()
Checks if the connection is valid. |
void |
removeConnectionStateNotificationListener(ConnectionStateChangedListener listener)
Deprecated. no longer supported |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionApi(Connection connection)
session - public ConnectionApi(com.pcube.management.framework.client.SessionObject session)
session - | Method Detail |
|---|
public void addConnectionStateNotificationListener(ConnectionStateChangedListener listener)
listener - the listener
public void authenticate(java.lang.String hostName,
java.lang.String deviceType,
java.lang.String userName,
java.lang.String password)
throws java.io.IOException,
com.pcube.management.common.WrapperException,
com.pcube.management.tools.ftpclient.net.ftp.FTPException
hostName - the device's host-namedeviceType - one of LoginApi.SE_SERVICE_NAME, LoginApi.EMS_SERVICE_NAMEuserName - the usernamepassword - the password
java.io.IOException
com.pcube.management.common.WrapperException
com.pcube.management.tools.ftpclient.net.ftp.FTPExceptionpublic com.pcube.management.framework.client.SessionObject getSessionObject()
public boolean isConnected()
public void removeConnectionStateNotificationListener(ConnectionStateChangedListener listener)
listener - the listener to unregister
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||