com.adventnet.snmp.snmp2.agent
Class VaclEntry

java.lang.Object
  extended by com.adventnet.snmp.snmp2.agent.BaseTableEntry
      extended by com.adventnet.snmp.snmp2.agent.VaclEntry
All Implemented Interfaces:
RowStatusHandlerInterface, TableEntry, java.io.Serializable

public class VaclEntry
extends BaseTableEntry
implements TableEntry, java.io.Serializable

Contains the data handling under vaclEntry group

See Also:
Serialized Form

Field Summary
protected  java.lang.String aclCommunity
          The aclCommunity value of this Entry
protected  int[] instanceOID
          The InstanceOID of this entry.
protected  java.lang.String mibViews
          The MibViews of this Entry
protected  java.lang.Integer viewStatus
          The RowStatus Implementation of this Entry
 
Fields inherited from class com.adventnet.snmp.snmp2.agent.BaseTableEntry
agentName
 
Constructor Summary
VaclEntry()
          Default Constructor - currently does nothing.
 
Method Summary
 java.lang.String getAclCommunity()
          Handles the SNMP Get Request for aclCommunity
 java.lang.String getMibViews()
          Handles the SNMP Get Request for mibViews
 java.lang.Integer getViewStatus()
          Handles the SNMP Get Request for viewStatus
 void setAclCommunity(java.lang.String value)
          Handles the SNMP Set Request for aclCommunity
 void setMibViews(java.lang.String value)
          Handles the SNMP Set Request for mibViews
 void setrowStatus(java.lang.Integer value)
          Method to set the rowStatus value
 void setViewStatus(java.lang.Integer value)
          Handles the SNMP Set Request for viewStatus
 java.lang.String toString()
          Overriding toString for tag Output of information.
 
Methods inherited from class com.adventnet.snmp.snmp2.agent.BaseTableEntry
computeInstanceOID, decrementCount, getAttributes, getCount, getInstanceOID, setAgentRef, setCount, setInstanceOID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.adventnet.utils.agent.TableEntry
computeInstanceOID, getInstanceOID, setInstanceOID
 

Field Detail

aclCommunity

protected java.lang.String aclCommunity
The aclCommunity value of this Entry


mibViews

protected java.lang.String mibViews
The MibViews of this Entry


viewStatus

protected java.lang.Integer viewStatus
The RowStatus Implementation of this Entry


instanceOID

protected int[] instanceOID
The InstanceOID of this entry.

Constructor Detail

VaclEntry

public VaclEntry()
Default Constructor - currently does nothing.

Method Detail

getAclCommunity

public java.lang.String getAclCommunity()
                                 throws AgentException
Handles the SNMP Get Request for aclCommunity

Returns:
The external aclCommunity of this entry.
Throws:
AgentException - on error.

setAclCommunity

public void setAclCommunity(java.lang.String value)
                     throws AgentException
Handles the SNMP Set Request for aclCommunity

Parameters:
value - The aclCommunity String value.
Throws:
AgentException - on error.

getMibViews

public java.lang.String getMibViews()
                             throws AgentException
Handles the SNMP Get Request for mibViews

Returns:
The MibViews of this entry.
Throws:
AgentException - on error.

setMibViews

public void setMibViews(java.lang.String value)
                 throws AgentException
Handles the SNMP Set Request for mibViews

Parameters:
value - The MibViews OID String value default will be .1.3
Throws:
AgentException - on error

getViewStatus

public java.lang.Integer getViewStatus()
                                throws AgentException
Handles the SNMP Get Request for viewStatus

Returns:
The RowStatus value of this entry.
Throws:
AgentException - on error.

setViewStatus

public void setViewStatus(java.lang.Integer value)
                   throws AgentException
Handles the SNMP Set Request for viewStatus

Parameters:
value - The RowStatus Integer value
Throws:
AgentException - on error

toString

public java.lang.String toString()
Overriding toString for tag Output of information.

Overrides:
toString in class java.lang.Object
Returns:
(-->"":Status-->)

setrowStatus

public void setrowStatus(java.lang.Integer value)
Description copied from interface: RowStatusHandlerInterface
Method to set the rowStatus value

Specified by:
setrowStatus in interface RowStatusHandlerInterface
Parameters:
value - the Integer specifying the rowStatus value.