|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pcube.apps.engage.Connection
public class Connection
A connection handle to the SE. Used by all of the Policy and Subscriber API functions.
| Field Summary | |
|---|---|
static int |
ADMIN_LEVEL_AUTHENTICATION
|
static byte |
DC_DEVICE
Data-Collector device type |
static byte |
EMS_DEVICE
smartSUB Manager device type |
static int |
ROOT_LEVEL_AUTHENTICATION
|
static byte |
SE_DEVICE
SE Platform device type |
| Constructor Summary | |
|---|---|
Connection(com.pcube.management.framework.client.SessionObject session)
Connection Constructor |
|
| Method Summary | |
|---|---|
void |
addConnectionStateNotificationListener(ConnectionStateChangedListener listener)
Deprecated. use getSessionObject().addConnectionStateNotificationListener instead |
void |
authenticate(java.lang.String hostName,
java.lang.String deviceType,
java.lang.String userName,
java.lang.String password)
|
com.pcube.management.framework.client.SessionObject |
getSessionObject()
Gets the SessionObject to the Engage device |
boolean |
isConnected()
Checks if the connection is valid. |
void |
removeConnectionStateNotificationListener(ConnectionStateChangedListener listener)
Deprecated. use getSessionObject().removeConnectionStateNotificationListener instead |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte DC_DEVICE
public static final byte EMS_DEVICE
public static final byte SE_DEVICE
public static final int ADMIN_LEVEL_AUTHENTICATION
public static final int ROOT_LEVEL_AUTHENTICATION
| Constructor Detail |
|---|
public Connection(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 - deviceType - userName - 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 | |||||||||