com.adventnet.snmp.snmp2.agent
Interface SystemGroupListener


public interface SystemGroupListener

This class acts as the interface for the SystemGroup using which user can plug-in his own System Group implementation.

The User has to implement this class to read the original values and the user implementation needs to be added to the SnmpAgent using the addSystemGroupListener method.


Method Summary
 java.lang.String getSysContact()
          Getter for the SysContact value.
 java.lang.String getSysDescr()
          Getter for the SysDescr value.
 java.lang.String getSysLocation()
          Getter for the SysLocation value.
 java.lang.String getSysName()
          Getter for the SysName value.
 java.lang.String getSysObjectID()
          Getter for the SysObjectID value.
 java.lang.Long getSysORLastChange()
          Getter for the SysORLastChange value.
 java.lang.Integer getSysServices()
          Getter for the SysServices value.
 java.lang.Long getSysUpTime()
          Getter for the SysUpTime value.
 void setSysContact(java.lang.String value)
          Setter for the SysContact value.
 void setSysLocation(java.lang.String value)
          Setter for the SysLocation value.
 void setSysName(java.lang.String value)
          Setter for the SysName value.
 

Method Detail

getSysDescr

public java.lang.String getSysDescr()
                             throws AgentException
Getter for the SysDescr value.
Returns:
The sysDescr Value String.
Throws:
AgentException - on error while processing get.

getSysServices

public java.lang.Integer getSysServices()
                                 throws AgentException
Getter for the SysServices value.
Returns:
The SysServices Value Requested.
Throws:
AgentException - on error while processing get.

getSysORLastChange

public java.lang.Long getSysORLastChange()
                                  throws AgentException
Getter for the SysORLastChange value.
Returns:
The SysORLastChange Value requested.
Throws:
AgentException - on error while processing get.

getSysLocation

public java.lang.String getSysLocation()
                                throws AgentException
Getter for the SysLocation value.
Returns:
The SysLocation Value String.
Throws:
AgentException - on error while processing get.

setSysLocation

public void setSysLocation(java.lang.String value)
                    throws AgentException
Setter for the SysLocation value.
Parameters:
value - The Value to be set for the SysLocation.
Throws:
AgentException - on error while processing set.

getSysName

public java.lang.String getSysName()
                            throws AgentException
Getter for the SysName value.
Returns:
The SysName String Value.
Throws:
AgentException - on error while processing get.

setSysName

public void setSysName(java.lang.String value)
                throws AgentException
Setter for the SysName value.
Parameters:
value - The Value to be set for the SysName.
Throws:
AgentException - on error while processing set.

setSysContact

public void setSysContact(java.lang.String value)
                   throws AgentException
Setter for the SysContact value.
Parameters:
value - The Value to be set for the SysContact.
Throws:
AgentException - on error while processing set.

getSysContact

public java.lang.String getSysContact()
                               throws AgentException
Getter for the SysContact value.
Returns:
The SysContact Value String.
Throws:
AgentException - on error while processing get.

getSysUpTime

public java.lang.Long getSysUpTime()
                            throws AgentException
Getter for the SysUpTime value.
Returns:
The SysUpTime Value Required.
Throws:
AgentException - on error while processing get.

getSysObjectID

public java.lang.String getSysObjectID()
                                throws AgentException
Getter for the SysObjectID value.
Returns:
The SysObjectID String Value.
Throws:
AgentException - on error while processing get.