|
Cisco Systems Inc. Confidential | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.scms.api.sce.prpc.PRPC_SCESubscriberApi
public class PRPC_SCESubscriberApi
| Field Summary | |
|---|---|
protected int |
connectTimeout
|
static int |
DEFAULT_CONNECT_TIMEOUT
|
static int |
DEFAULT_LISTENER_INVOCATIONS_TIMEOUT
|
static boolean |
DEFAULT_MODE
|
static int |
DEFAULT_REGISTER_TIMEOUT
|
static int |
DEFAULT_REGULAR_INVOCATIONS_TIMEOUT
|
protected int |
listenerInvocationTimeout
|
protected static double |
OUTPUT_Q_UTIL_THRESHOLD
threshold that indicates the limit of the allowed utilization of the output queue to the SCE. |
static java.lang.String |
PROP_CONNECT_TIMEOUT
|
static java.lang.String |
PROP_LISTENER_INVOCATIONS_TIMEOUT
Timeout used for operations that may be invoked from listener callback |
static java.lang.String |
PROP_REGISTER_TIMEOUT
|
static java.lang.String |
PROP_REGULAR_INVOCATIONS_TIMEOUT
Timeout used for all other operations |
static int |
PRPC_DEFAULT_PORT
|
protected int |
registerTimeout
|
protected int |
regularInvocationTimeout
|
protected com.pcube.management.framework.rpc.RpcSessionObjectImpl |
sceSession
|
static boolean |
VLINK_MODE
|
| Constructor Summary | |
|---|---|
PRPC_SCESubscriberApi(java.lang.String _apiName,
java.lang.String sceHost)
Constructor: |
|
PRPC_SCESubscriberApi(java.lang.String _apiName,
java.lang.String sceHost,
int scePort,
long autoReconnectInterval,
boolean mode)
Constructor: |
|
PRPC_SCESubscriberApi(java.lang.String _apiName,
java.lang.String sceHost,
long autoReconnectInterval)
Constructor: |
|
PRPC_SCESubscriberApi(java.lang.String _apiName,
java.lang.String sceHost,
long autoReconnectInterval,
boolean vlinkMode)
Constructor: |
|
| Method Summary | |
|---|---|
void |
connect()
Connects the API to the SCE. |
void |
createVLink(VLink vlinkData)
This operation is used to create a VLink in SCE. |
void |
createVLink(VLink[] vlinkData)
This operation is used to create multiple VLinks in SCE. |
void |
deleteVLink(VLink vlinkData)
This operation is used to delete a VLink in SCE. |
void |
deleteVLink(VLink[] vlinkData)
This operation is used to delete multiple VLinks in SCE |
void |
disconnect()
Disconnects and API from the SCE platform. |
void |
enableVlinkMode()
This operation is used to enable the VLink mode Vlink mode should be enabled before the API connects to the SCE. |
protected void |
finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
java.lang.String |
getApiDebugInfo()
|
java.lang.String |
getAPIName()
This method queries the API name. |
java.lang.String |
getAPIVersion()
This method queries the API version. |
int |
getMaxVlinks()
This operation is used to get Maximum number of vlinks suppoerted in SCE |
void |
getQuotaStatuBulk(com.scms.common.Quota_BULK subsBulk,
OperationResultHandler handler)
This method is a bulk version of the getQuotaStatus method (@see getQuotaStatus) |
void |
getQuotaStatus(java.lang.String subscriberID,
com.scms.common.Quota quota,
OperationResultHandler handler)
This operation places the request to query the current remaining quota amount of the specified set of quota buckets. |
java.lang.String |
getSceAgentVersion()
|
void |
getSubscribersBulk(int bulkSize,
com.scms.common.SubscribersBulkResponseIterator iterator,
OperationResultHandler handler)
This operation should be used in pull model synchronization process in order to retrieve bulk of subscriber the SCE is currently handling (see Pull Model Synchronization Procedure section in the user manual). |
void |
init(java.util.Properties properties)
The API enables initializing certain internal properties for API customization using init method. |
protected void |
internalRegisterListeners()
|
boolean |
isConnected()
Verifies whether the API is connected to the SCE |
boolean |
isRedundancyStatusActive()
Retreives a redundancy status of the SCE. |
boolean |
isVlinkEnabled()
This operation is used to check if vlink mode is enabled in SCE. |
void |
login(java.lang.String subscriberID,
NetworkID networkID,
boolean networkIdAdditive,
PolicyProfile policy,
com.scms.common.QuotaOperation quota,
com.scms.common.ExtendedAttributes esa,
OperationResultHandler handler)
This operation is used in order to add/update the subscriber to the SCE with the extended attributes. |
void |
login(java.lang.String subscriberID,
NetworkID networkID,
boolean networkIdAdditive,
PolicyProfile policy,
com.scms.common.QuotaOperation quota,
OperationResultHandler handler)
This operation is used in order to add/update the subscriber to the SCE. |
void |
loginBulk(Login_BULK subsBulk,
OperationResultHandler handler)
This method is a bulk version of the login method (@see login) |
void |
loginPullResponse(java.lang.String subscriberID,
java.lang.String anonymousSubscriberID,
NetworkID networkID,
PolicyProfile policy,
com.scms.common.QuotaOperation quota,
com.scms.common.ExtendedAttributes esa,
OperationResultHandler handler)
This operation sends subscriber login information to the SCE with extended attributes as a response to a loginPullRequest call from the SCE or a loginPullBulkRequest. |
void |
loginPullResponse(java.lang.String subscriberID,
java.lang.String anonymousSubscriberID,
NetworkID networkID,
PolicyProfile policy,
com.scms.common.QuotaOperation quota,
com.scms.common.ExtendedAttributes esa,
OperationResultHandler handler,
boolean isNetworkAdditive)
This operation sends subscriber login information to the SCE with extended attributes as a response to a loginPullRequest call from the SCE or a loginPullBulkRequest. |
void |
loginPullResponse(java.lang.String subscriberID,
java.lang.String anonymousSubscriberID,
NetworkID networkID,
PolicyProfile policy,
com.scms.common.QuotaOperation quota,
OperationResultHandler handler)
This operation sends subscriber login information to the SCE as a response to a loginPullRequest call from the SCE or a loginPullBulkRequest. |
void |
loginPullResponse(java.lang.String subscriberID,
java.lang.String anonymousSubscriberID,
NetworkID networkID,
PolicyProfile policy,
com.scms.common.QuotaOperation quota,
OperationResultHandler handler,
boolean isNetworkAdditive)
This operation sends subscriber login information to the SCE as a response to a loginPullRequest call from the SCE or a loginPullBulkRequest. |
void |
loginPullResponseBulk(LoginPullResponse_BULK subsBulk,
OperationResultHandler handler)
This method is a bulk version of the loginPullResponse method (@see loginPullResponse) |
void |
logout(java.lang.String subscriberID,
NetworkID networkID,
OperationResultHandler handler)
This operation removes the specified networkID of the subscriber from the SCE. |
void |
logoutBulk(NetworkAndSubscriberID_BULK subsBulk,
OperationResultHandler handler)
This method is a bulk version of the logout method (@see logout) |
void |
networkIDUpdate(java.lang.String subscriberID,
NetworkID networkID,
boolean networkIdAdditive,
OperationResultHandler handler)
This operation adds\replaces an existing subscriber's network ID. |
void |
networkIDUpdateBulk(NetworkAndSubscriberID_BULK subsBulk,
OperationResultHandler handler)
This method is a bulk version of the networkIDUpdate method (@see networkIDUpdate) |
void |
policyProfileUpdate(java.lang.String subscriberID,
PolicyProfile policy,
OperationResultHandler handler)
This operation modifies an existing subscriber's policy profile. |
void |
policyProfileUpdateBulk(PolicyProfile_BULK subsBulk,
OperationResultHandler handler)
This method is a bulk version of the policyProfileUpdate method (@see policyProfileUpdate) |
void |
quotaUpdate(java.lang.String subscriberID,
com.scms.common.QuotaOperation quotaOperation,
OperationResultHandler handler)
This operation adds/sets the values of the subscriber's quota. |
void |
quotaUpdateBulk(com.scms.common.QuotaOperation_BULK subsBulk,
OperationResultHandler handler)
This method is a bulk version of the quotaUpdate method (@see quotaUpdate) |
void |
registerLoginPullListener(LoginPullListener listener)
|
void |
registerLogoutListener(LogoutListener listener)
This method sets a logout indications listener. |
void |
registerQuotaListener(QuotaListener listener)
This method sets a quota indications listener. |
void |
setConnectionListener(ConnectionListener listener)
The API monitors the connection to the SCE platform. |
void |
setQuotaFactory(com.scms.api.sce.QuotaFactory quotaFctr)
for internal use only |
void |
setRedundancyStateListener(com.scms.api.sce.RedundancyStateListener listener)
|
protected void |
setTimeouts(java.util.Properties properties)
|
void |
synchronizePullEnd(boolean success,
OperationResultHandler handler)
This operation should be used in pull model only in order to signal the SCE that synchronization with the server has ended. |
void |
synchronizePullStart(OperationResultHandler handler)
This operation should be used in pull model only in order to signal the SCE that synchronization with the server should be started. |
void |
synchronizePushEnd(boolean success,
OperationResultHandler handler)
This operation should be used in push mode only in order to signal the SCE that synchronization with the server has ended. |
void |
synchronizePushStart(OperationResultHandler handler)
This operation should be used in push model only in order to signal the SCE that synchronization with the server is about to be started. |
java.lang.String |
toString()
Automatically generated method: toString |
void |
unregisterLoginPullListener()
This method removes a pull indications listener. |
void |
unregisterLogoutListener()
This method removes a logout indications listener. |
void |
unregisterQuotaListener()
This method removes a quota indications listener. |
void |
updateVLink(VLink vlinkData)
This operation is used to update a VLink in SCE |
void |
updateVLink(VLink[] vlinkData)
This operation is used to update multiple VLinks in SCE |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static boolean VLINK_MODE
public static final boolean DEFAULT_MODE
public static final int PRPC_DEFAULT_PORT
protected com.pcube.management.framework.rpc.RpcSessionObjectImpl sceSession
public static final int DEFAULT_LISTENER_INVOCATIONS_TIMEOUT
public static final int DEFAULT_REGULAR_INVOCATIONS_TIMEOUT
public static final int DEFAULT_CONNECT_TIMEOUT
public static final int DEFAULT_REGISTER_TIMEOUT
protected static final double OUTPUT_Q_UTIL_THRESHOLD
public static final java.lang.String PROP_LISTENER_INVOCATIONS_TIMEOUT
public static final java.lang.String PROP_REGULAR_INVOCATIONS_TIMEOUT
public static final java.lang.String PROP_CONNECT_TIMEOUT
public static final java.lang.String PROP_REGISTER_TIMEOUT
protected int listenerInvocationTimeout
protected int regularInvocationTimeout
protected int connectTimeout
protected int registerTimeout
| Constructor Detail |
|---|
public PRPC_SCESubscriberApi(java.lang.String _apiName,
java.lang.String sceHost)
throws java.net.UnknownHostException
_apiName - - The name should be unique per SCE - constructing more than one API with the same name
connected to a certain SCE will be handled by the SCE platform as one API client. This feature should
be used when high-availability is supported. For more information about high availability read High
Availability section in SCE Subscriber Java API Programmer's Guide.sceHost - - can be either an IP address or a reachable hostname
java.net.UnknownHostException
public PRPC_SCESubscriberApi(java.lang.String _apiName,
java.lang.String sceHost,
long autoReconnectInterval)
throws java.net.UnknownHostException
_apiName - - The name should be unique per SCE - constructing more than one API with the same name
connected to a certain SCE will be handled by the SCE platform as one API client. This feature should
be used when high-availability is supported. For more information about high availability read High
Availability section in SCE Subscriber Java API Programmer's Guide.sceHost - - can be either an IP address or a reachable hostnameautoReconnectInterval - - Defines the interval (in milliseconds) for attempting reconnection by the
reconnection task, as follows: value is 0 or less: the reconnection task is not activated (no auto-reconnect
is attempted). value is greater than 0: in case of connection failure, the reconnection task will be
activated every java.net.UnknownHostException
public PRPC_SCESubscriberApi(java.lang.String _apiName,
java.lang.String sceHost,
long autoReconnectInterval,
boolean vlinkMode)
throws java.net.UnknownHostException
_apiName - - The name should be unique per SCE - constructing more than one API with the same name
connected to a certain SCE will be handled by the SCE platform as one API client. This feature should
be used when high-availability is supported. For more information about high availability read High
Availability section in SCE Subscriber Java API Programmer's Guide.sceHost - - can be either an IP address or a reachable hostnameautoReconnectInterval - - Defines the interval (in milliseconds) for attempting reconnection by the
reconnection task, as follows: value is 0 or less: the reconnection task is not activated (no auto-reconnect
is attempted). value is greater than 0: in case of connection failure, the reconnection task will be
activated every vlinkMode - - In case to use VLink APIs, vlinkMode should be given true.
java.net.UnknownHostException
public PRPC_SCESubscriberApi(java.lang.String _apiName,
java.lang.String sceHost,
int scePort,
long autoReconnectInterval,
boolean mode)
throws java.net.UnknownHostException
_apiName - - The name should be unique per SCE - constructing more than one API with the same name
connected to a certain SCE will be handled by the SCE platform as one API client. This feature should
be used when high-availability is supported. For more information about high availability read High
Availability section in SCE Subscriber Java API Programmer's Guide.sceHost - - can be either an IP address or a reachable hostnamescePort - - PRPC protocol TCP port to connect to the SCE (default value is 14374)autoReconnectInterval - - Defines the interval (in milliseconds) for attempting reconnection by the
reconnection task, as follows: value is 0 or less: the reconnection task is not activated (no auto-reconnect
is attempted). value is greater than 0: in case of connection failure, the reconnection task will be
activated every mode - - In case to use VLink APIs, mode should be given true.
java.net.UnknownHostException| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public void init(java.util.Properties properties)
throws java.lang.Exception
properties - To set output queue size, use prpc.client.output.machinemode.recordnum as a property
key To set operation timeout use com.scms.api.sce.prpc.regularInvocationTimeout or
com.scms.api.sce.prpc.listenerInvocationTimeout as a property key
java.lang.Exceptionprotected void setTimeouts(java.util.Properties properties)
public final boolean isRedundancyStatusActive()
SCESubscriberApi
isRedundancyStatusActive in interface SCESubscriberApipublic final void setQuotaFactory(com.scms.api.sce.QuotaFactory quotaFctr)
quotaFctr -
public void connect()
throws java.lang.Exception
connect in interface SCESubscriberApijava.lang.Exception
protected void internalRegisterListeners()
throws java.lang.Exception
java.lang.Exception
public void disconnect()
throws java.lang.Exception
disconnect in interface SCESubscriberApijava.lang.Exception
protected void finalize()
throws java.lang.Throwable
finalize method to dispose of
system resources or to perform other cleanup.
calls disconnect()
finalize in class java.lang.Objectjava.lang.Throwable - the Exception raised by this methodpublic void setConnectionListener(ConnectionListener listener)
setConnectionListener in interface SCESubscriberApilistener - - listener to setpublic void setRedundancyStateListener(com.scms.api.sce.RedundancyStateListener listener)
setRedundancyStateListener in interface SCESubscriberApipublic boolean isConnected()
isConnected in interface SCESubscriberApi
public void login(java.lang.String subscriberID,
NetworkID networkID,
boolean networkIdAdditive,
PolicyProfile policy,
com.scms.common.QuotaOperation quota,
OperationResultHandler handler)
throws java.lang.Exception
login in interface SCESubscriberApisubscriberID - - the ID of the subscribernetworkID - - networkID of the subscriber (IP, VLAN, etc.)networkIdAdditive - - flag indicating whether to add the networkIDs to the existing onespolicy - - policy profile of the subscriberquota - - quota operation of the subscriberhandler - - operation result handler - used for returning the operation results
java.lang.Exception
public void login(java.lang.String subscriberID,
NetworkID networkID,
boolean networkIdAdditive,
PolicyProfile policy,
com.scms.common.QuotaOperation quota,
com.scms.common.ExtendedAttributes esa,
OperationResultHandler handler)
throws java.lang.Exception
login in interface SCESubscriberApisubscriberID - - the ID of the subscribernetworkID - - networkID of the subscriber (IP, VLAN, etc.)networkIdAdditive - - flag indicating whether to add the networkIDs to the existing onespolicy - - policy profile of the subscriberquota - - quota operation of the subscriberesa - - ExtendedAttributes of the subscriberhandler - - operation result handler - used for returning the operation results
java.lang.Exception
public void networkIDUpdate(java.lang.String subscriberID,
NetworkID networkID,
boolean networkIdAdditive,
OperationResultHandler handler)
throws java.lang.Exception
networkIDUpdate in interface SCESubscriberApisubscriberID - - the ID of the subscribernetworkID - - networkID of the subscriber (IP, VLAN, etc.)networkIdAdditive - - flag indicating whether to add the networkIDs to the existing oneshandler - - operation result handler - used for returning the operation results
java.lang.Exception
public void logout(java.lang.String subscriberID,
NetworkID networkID,
OperationResultHandler handler)
throws java.lang.Exception
logout in interface SCESubscriberApisubscriberID - networkID - handler -
java.lang.Exception
public void quotaUpdate(java.lang.String subscriberID,
com.scms.common.QuotaOperation quotaOperation,
OperationResultHandler handler)
throws java.lang.Exception
quotaUpdate in interface SCESubscriberApisubscriberID - quotaOperation - handler -
java.lang.Exception
public void loginPullResponse(java.lang.String subscriberID,
java.lang.String anonymousSubscriberID,
NetworkID networkID,
PolicyProfile policy,
com.scms.common.QuotaOperation quota,
OperationResultHandler handler,
boolean isNetworkAdditive)
throws java.lang.Exception
anonymousSubscriberID - - the ID of anonymous subscribersubscriberID - - the ID of the subscribernetworkID - - networkID of the subscriber (IP, VLAN, etc.)policy - - policy profile of the subscriberquota - - quota operation of the subscriberhandler - - operation result handler - used for returning the operation resultsisNetworkAdditive - - Network Additive
java.lang.Exception
public void loginPullResponse(java.lang.String subscriberID,
java.lang.String anonymousSubscriberID,
NetworkID networkID,
PolicyProfile policy,
com.scms.common.QuotaOperation quota,
OperationResultHandler handler)
throws java.lang.Exception
loginPullResponse in interface SCESubscriberApianonymousSubscriberID - - the ID of anonymous subscribersubscriberID - - the ID of the subscribernetworkID - - networkID of the subscriber (IP, VLAN, etc.)policy - - policy profile of the subscriberquota - - quota operation of the subscriberhandler - - operation result handler - used for returning the operation results
java.lang.Exception
public void loginPullResponse(java.lang.String subscriberID,
java.lang.String anonymousSubscriberID,
NetworkID networkID,
PolicyProfile policy,
com.scms.common.QuotaOperation quota,
com.scms.common.ExtendedAttributes esa,
OperationResultHandler handler,
boolean isNetworkAdditive)
throws java.lang.Exception
anonymousSubscriberID - - the ID of anonymous subscribersubscriberID - - the ID of the subscribernetworkID - - networkID of the subscriber (IP, VLAN, etc.)policy - - policy profile of the subscriberquota - - quota operation of the subscriberesa - - ExtendedAttributes of the subscriberhandler - - operation result handler - used for returning the operation resultsisNetworkAdditive -
java.lang.Exception
public void loginPullResponse(java.lang.String subscriberID,
java.lang.String anonymousSubscriberID,
NetworkID networkID,
PolicyProfile policy,
com.scms.common.QuotaOperation quota,
com.scms.common.ExtendedAttributes esa,
OperationResultHandler handler)
throws java.lang.Exception
loginPullResponse in interface SCESubscriberApianonymousSubscriberID - - the ID of anonymous subscribersubscriberID - - the ID of the subscribernetworkID - - networkID of the subscriber (IP, VLAN, etc.)policy - - policy profile of the subscriberquota - - quota operation of the subscriberesa - - ExtendedAttributes of the subscriberhandler - - operation result handler - used for returning the operation results
java.lang.Exception
public void policyProfileUpdate(java.lang.String subscriberID,
PolicyProfile policy,
OperationResultHandler handler)
throws java.lang.Exception
policyProfileUpdate in interface SCESubscriberApisubscriberID - - the unique ID of the subscriber.policy - - policy profile of the subscriber.handler - - result handler for this operation.
java.lang.Exception
public void getQuotaStatus(java.lang.String subscriberID,
com.scms.common.Quota quota,
OperationResultHandler handler)
throws java.lang.Exception
getQuotaStatus in interface SCESubscriberApisubscriberID - - the unique ID of the subscriber.quota - - should include the list of the names (without values) of the quota buckets you want to retrieve.
See SCAS_BB_Quota class in order to construct quota with buckets names only.handler - - result handler for this operation.
java.lang.Exception
public void getQuotaStatuBulk(com.scms.common.Quota_BULK subsBulk,
OperationResultHandler handler)
throws java.lang.Exception
getQuotaStatuBulk in interface SCESubscriberApisubsBulk - - @see Quota_BULKhandler - - result handler for this operation.
java.lang.Exception
public void loginPullResponseBulk(LoginPullResponse_BULK subsBulk,
OperationResultHandler handler)
throws java.lang.Exception
loginPullResponseBulk in interface SCESubscriberApisubsBulk - - @see LoginPullResponse_BULKhandler - - result handler for this operation.
java.lang.Exception
public void loginBulk(Login_BULK subsBulk,
OperationResultHandler handler)
throws java.lang.Exception
loginBulk in interface SCESubscriberApisubsBulk - - @see Login_BULKhandler - - result handler for this operation.
java.lang.Exception
public void logoutBulk(NetworkAndSubscriberID_BULK subsBulk,
OperationResultHandler handler)
throws java.lang.Exception
logoutBulk in interface SCESubscriberApisubsBulk - - @see NetworkAndSubscriberID_BULKhandler - - result handler for this operation.
java.lang.Exception
public void policyProfileUpdateBulk(PolicyProfile_BULK subsBulk,
OperationResultHandler handler)
throws java.lang.Exception
policyProfileUpdateBulk in interface SCESubscriberApisubsBulk - - @see PolicyProfile_BULKhandler - - result handler for this operation.
java.lang.Exception
public void networkIDUpdateBulk(NetworkAndSubscriberID_BULK subsBulk,
OperationResultHandler handler)
throws java.lang.Exception
networkIDUpdateBulk in interface SCESubscriberApisubsBulk - - @see NetworkAndSubscriberID_BULKhandler - - result handler for this operation.
java.lang.Exception
public void quotaUpdateBulk(com.scms.common.QuotaOperation_BULK subsBulk,
OperationResultHandler handler)
throws java.lang.Exception
quotaUpdateBulk in interface SCESubscriberApisubsBulk - - @see QuotaOperation_BULKhandler - - result handler for this operation.
java.lang.Exception
public void registerLoginPullListener(LoginPullListener listener)
throws java.lang.Exception
registerLoginPullListener in interface SCESubscriberApijava.lang.Exception
public void unregisterLoginPullListener()
throws java.lang.Exception
unregisterLoginPullListener in interface SCESubscriberApijava.lang.Exception
public void registerLogoutListener(LogoutListener listener)
throws java.lang.Exception
registerLogoutListener in interface SCESubscriberApilistener - - Listener provided by the user
java.lang.Exception
public void unregisterLogoutListener()
throws java.lang.Exception
unregisterLogoutListener in interface SCESubscriberApijava.lang.Exceptionpublic void registerQuotaListener(QuotaListener listener)
registerQuotaListener in interface SCESubscriberApilistener - - Listener provided by the user
public void unregisterQuotaListener()
throws java.lang.Exception
unregisterQuotaListener in interface SCESubscriberApijava.lang.Exception
public void synchronizePushStart(OperationResultHandler handler)
throws java.lang.Exception
synchronizePushStart in interface SCESubscriberApihandler - - result handler for this operation.
java.lang.Exception
public void synchronizePushEnd(boolean success,
OperationResultHandler handler)
throws java.lang.Exception
synchronizePushEnd in interface SCESubscriberApisuccess - - flag indicating the SCE whether the synchronization was successful.handler - - result handler for this operation.
java.lang.Exception
public void synchronizePullStart(OperationResultHandler handler)
throws java.lang.Exception
synchronizePullStart in interface SCESubscriberApihandler - - result handler for this operation
java.lang.Exception
public void synchronizePullEnd(boolean success,
OperationResultHandler handler)
throws java.lang.Exception
success - - flag indicating the SCE whether the synchronization was successful.handler - - result handler for this operation
java.lang.Exception
public void getSubscribersBulk(int bulkSize,
com.scms.common.SubscribersBulkResponseIterator iterator,
OperationResultHandler handler)
throws java.lang.Exception
getSubscribersBulk in interface SCESubscriberApibulkSize - - the size of the bulk (maximum bulk size is 100 entries)iterator - - iterator of the subscribers at the SCE side. This iterator is received in
getSubscribersBulkIndication and it should be passed to the next call to getSubscribersBulk method.
When calling first time to the getSubscribersBulk method - use null as an iterator (using null indicates
that you want to start from the beginning).handler - - result handler for this operation.
java.lang.Exceptionpublic java.lang.String getAPIVersion()
getAPIVersion in interface SCESubscriberApipublic java.lang.String getAPIName()
getAPIName in interface SCESubscriberApi
public java.lang.String getSceAgentVersion()
throws java.lang.Exception
getSceAgentVersion in interface SCESubscriberApijava.lang.Exceptionpublic java.lang.String getApiDebugInfo()
public void createVLink(VLink vlinkData)
throws VLinkDisabledException,
VLinkModeException
createVLink in interface SCESubscriberApivlinkData - - Vlink Data
VLinkDisabledException,VLinkModeException
VLinkDisabledException
VLinkModeException
public void createVLink(VLink[] vlinkData)
throws VLinkDisabledException,
VLinkModeException
createVLink in interface SCESubscriberApivlinkData - - Array of Vlink Data
VLinkDisabledException,VLinkModeException
VLinkDisabledException
VLinkModeException
public void deleteVLink(VLink vlinkData)
throws VLinkDisabledException,
VLinkModeException
deleteVLink in interface SCESubscriberApivlinkData - - Vlink Data
VLinkDisabledException,VLinkModeException
VLinkDisabledException
VLinkModeException
public void deleteVLink(VLink[] vlinkData)
throws VLinkDisabledException,
VLinkModeException
deleteVLink in interface SCESubscriberApivlinkData - - Array of Vlink Data
VLinkDisabledException,VLinkModeException
VLinkDisabledException
VLinkModeException
public void updateVLink(VLink vlinkData)
throws VLinkDisabledException,
VLinkModeException
updateVLink in interface SCESubscriberApivlinkData - - Vlink Data
VLinkDisabledException,VLinkModeException
VLinkDisabledException
VLinkModeException
public void updateVLink(VLink[] vlinkData)
throws VLinkDisabledException,
VLinkModeException
updateVLink in interface SCESubscriberApivlinkData - - Array of Vlink Data
VLinkDisabledException,VLinkModeException
VLinkDisabledException
VLinkModeException
public int getMaxVlinks()
throws VLinkDisabledException,
VLinkModeException
getMaxVlinks in interface SCESubscriberApiVLinkDisabledException,VLinkModeException
VLinkDisabledException
VLinkModeException
public boolean isVlinkEnabled()
throws VLinkModeException
isVlinkEnabled in interface SCESubscriberApiVLinkModeExceptionpublic void enableVlinkMode()
enableVlinkMode in interface SCESubscriberApi
|
Cisco Systems Inc. Confidential | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||