|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientsFramework
Services for handling a protocol client.
Method Summary | |
---|---|
BaseClient |
createClient(java.lang.String credentialsId,
java.util.Properties props)
Creates a client of the specified type. |
java.lang.String |
createDynamicCredential(ObjectStateHolder protocolOSH)
Creates a new credential dynamically. |
java.lang.String[] |
getAvailableProtocols(java.lang.String protcolName)
Returns the IDs of all the credentials for the specific protocol. |
java.lang.String[] |
getAvailableProtocols(java.lang.String ipAddress,
java.lang.String protcolName)
Returns the IDs for those credentials of the specified protocol for which the specified IP address is in scope. |
Element |
getCurrentDestinationDataAsXml()
|
java.lang.String |
getDiscoveryJobId()
|
java.lang.String |
getProtocolProperty(java.lang.String credentialId,
java.lang.String propertyName)
Returns the value of the specified property of the specified credentials. |
java.lang.String |
getProtocolProperty(java.lang.String credentialId,
java.lang.String propertyName,
java.lang.String defaultValue)
Returns the value of the property of the specified credentials. |
void |
releaseDynamicCredential(java.lang.String credentialId)
Deletes a credential which was created by a createDynamicCredential call. |
Method Detail |
---|
BaseClient createClient(java.lang.String credentialsId, java.util.Properties props) throws java.lang.Exception
credentialsId
- ID of the credentials for the connectionprops
- additional properties to pass to the client
java.lang.Exception
java.lang.String[] getAvailableProtocols(java.lang.String ipAddress, java.lang.String protcolName)
ipAddress
- The connection IPprotcolName
- A value from ClientsConsts
ClientsConsts
java.lang.String[] getAvailableProtocols(java.lang.String protcolName)
protcolName
- A value from ClientsConsts
java.lang.String getProtocolProperty(java.lang.String credentialId, java.lang.String propertyName) throws java.lang.RuntimeException
credentialId
- The credential IDpropertyName
- The name of the property
java.lang.RuntimeException
java.lang.String getProtocolProperty(java.lang.String credentialId, java.lang.String propertyName, java.lang.String defaultValue) throws java.lang.RuntimeException
credentialId
- The credential IDpropertyName
- The name of the propertydefaultValue
- The value to return if no value is found for the specified property
java.lang.RuntimeException
java.lang.String createDynamicCredential(ObjectStateHolder protocolOSH)
protocolOSH
- The information needed to create a new credential
void releaseDynamicCredential(java.lang.String credentialId)
createDynamicCredential
call.
credentialId
- The ID of the credential to deleteElement getCurrentDestinationDataAsXml()
java.lang.String getDiscoveryJobId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |