com.adventnet.snmp.beans
Interface CustomizerTemplate

All Known Implementing Classes:
ClippedTable, DefaultSnmpTablePanelModel, MibBrowser, SnmpPoller, SnmpRequestServer, SnmpTable, SnmpTableModel, SnmpTarget, SnmpTasks

public interface CustomizerTemplate

This interface is defined to develop customizer for v3 properties. So there is no need to implement this interface.


Method Summary
 int create_v3_tables()
          This needs to be implemented to set add v3 user entry.Thil will set v3 user information by creating SnmpEngineTable and USMUserTable
 SnmpEngineTable getSnmpEngineTable()
          This needs to be implemented to get SnmpEngineTable reference
 java.lang.String getTargetHost()
          This needs to be implemented to get target host
 int getTargetPort()
          This needs to be implemented to get target port
 USMUserTable getUSMTable()
          This needs to be implemented to get USMUserTable reference
 void initSecurityProvider()
          Initialize the security provider
 boolean isSerialize()
          This needs to be implemented to set the status of serialization of v3 tables
 boolean isSupportedSecurityModel(int m)
          Specifies if a particular security model is supported or not.
 void manage_v3_tables()
          This needs to be implemented to update the current information about v3 user
 void setAuthPassword(java.lang.String authPassword)
          This needs to be implemented to set auth password
 void setAuthProtocol(int authProtocol)
          This needs to be implemented to set authProtocol
 void setPrincipal(java.lang.String userName)
          This needs to be implemented to get user name
 void setPrivPassword(java.lang.String privPassword)
          This needs to be implemented to set priv password
 void setSecurityLevel(byte securityLevel)
          This needs to be implemented to set security level
 void setSnmpVersion(int version)
          This needs to be implemented to set version
 void setTargetHost(java.lang.String host)
          This needs to be implemented to set target host
 void setTargetPort(int port)
          This needs to be implemented to set target port
 

Method Detail

setSnmpVersion

void setSnmpVersion(int version)
This needs to be implemented to set version


setTargetPort

void setTargetPort(int port)
This needs to be implemented to set target port


setTargetHost

void setTargetHost(java.lang.String host)
This needs to be implemented to set target host


getTargetPort

int getTargetPort()
This needs to be implemented to get target port


getTargetHost

java.lang.String getTargetHost()
This needs to be implemented to get target host


setPrincipal

void setPrincipal(java.lang.String userName)
This needs to be implemented to get user name


setSecurityLevel

void setSecurityLevel(byte securityLevel)
This needs to be implemented to set security level


setAuthPassword

void setAuthPassword(java.lang.String authPassword)
This needs to be implemented to set auth password


setPrivPassword

void setPrivPassword(java.lang.String privPassword)
This needs to be implemented to set priv password


setAuthProtocol

void setAuthProtocol(int authProtocol)
This needs to be implemented to set authProtocol


initSecurityProvider

void initSecurityProvider()
                          throws SnmpException
Initialize the security provider

Throws:
SnmpException

isSupportedSecurityModel

boolean isSupportedSecurityModel(int m)
Specifies if a particular security model is supported or not. Returns true if the security model is supported. False otherwise.

Parameters:
m - The security model number which needs to be checked if it is supported.
Returns:
true if the specified securitymodel is supported. False otherwise.

create_v3_tables

int create_v3_tables()
This needs to be implemented to set add v3 user entry.Thil will set v3 user information by creating SnmpEngineTable and USMUserTable


manage_v3_tables

void manage_v3_tables()
This needs to be implemented to update the current information about v3 user


getUSMTable

USMUserTable getUSMTable()
This needs to be implemented to get USMUserTable reference


getSnmpEngineTable

SnmpEngineTable getSnmpEngineTable()
This needs to be implemented to get SnmpEngineTable reference


isSerialize

boolean isSerialize()
This needs to be implemented to set the status of serialization of v3 tables