public abstract class GenericInfraAccountConnectionTestHandler extends java.lang.Object implements InfraAccountConnectionTestHandlerIf
| Constructor and Description |
|---|
GenericInfraAccountConnectionTestHandler() |
| Modifier and Type | Method and Description |
|---|---|
AccountSupportMatrixDetails |
getAccountSupportMatrixDetails(InfraAccount acc) |
boolean |
testConnection(InfraAccount acc,
java.lang.StringBuffer buff) |
boolean |
testConnection(InfraAccount acc,
java.lang.StringBuffer buff,
boolean save) |
abstract boolean |
testConnectionTo(InfraAccount acc,
java.lang.StringBuffer buff)
Implement your logic here to determine whether the device is reachable or not.
|
public GenericInfraAccountConnectionTestHandler()
public boolean testConnection(InfraAccount acc, java.lang.StringBuffer buff) throws java.lang.Exception
testConnection in interface InfraAccountConnectionTestHandlerIfjava.lang.Exceptionpublic boolean testConnection(InfraAccount acc, java.lang.StringBuffer buff, boolean save) throws java.lang.Exception
testConnection in interface InfraAccountConnectionTestHandlerIfjava.lang.Exceptionpublic AccountSupportMatrixDetails getAccountSupportMatrixDetails(InfraAccount acc) throws java.lang.Exception
getAccountSupportMatrixDetails in interface InfraAccountConnectionTestHandlerIfjava.lang.Exceptionpublic abstract boolean testConnectionTo(InfraAccount acc, java.lang.StringBuffer buff)
acc - The InfraAccount object contains all the device details corresponding to the device that
to be tested.buff - The StringBuffer is used to store any messages regarding this connection test, you may
want to display to the user.