com.adventnet.snmp.beans
Interface CustomizerTemplate

All Known Implementing Classes:
SnmpRequestServer, SnmpTarget

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

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

setTargetPort

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

setTargetHost

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

getTargetPort

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

getTargetHost

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

setPrincipal

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

setSecurityLevel

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

setAuthPassword

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

setPrivPassword

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

setAuthProtocol

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

initSecurityProvider

public void initSecurityProvider()
                          throws SnmpException
Initialize the security provider

isSupportedSecurityModel

public 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

public 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

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

getUSMTable

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

getSnmpEngineTable

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

isSerialize

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


Copyright (c)AdventNet Inc., 1996-2004