com.adventnet.snmp.snmp2.vacm
Class VacmGroupAccessEntry

java.lang.Object
  |
  +--com.adventnet.snmp.snmp2.vacm.VacmGroupAccessEntry
All Implemented Interfaces:
java.io.Serializable

public class VacmGroupAccessEntry
extends java.lang.Object
implements java.io.Serializable

This class is used to keep track of the VacmAccessEntry object for each unique group name. It maintains a list of VacmAccessEntry objects for each group name. There is no need for the API user to instantiate this class. Once the VacmAccessEntry object is created, it has to added to the VacmGroupAccessTable. The VacmGroupAccessTable instantiates this class.

See Also:
VacmGroupAccessTable, Serialized Form

Method Summary
 java.util.Vector getAccessEntries()
          Returns an vector of VacmAccessEntries maintained by this class.
 byte[] getGroupName()
          Get the VacmGroupName associated with this object.
 java.lang.Object getKey()
          Retrive the key for this VacmGroupAccessEntry.
static java.lang.Object getKey(byte[] groupName)
          Retrive the key for this VacmGroupAccessEntry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getGroupName

public byte[] getGroupName()
Get the VacmGroupName associated with this object.
Returns:
The VacmGroupName associated with this object.

getAccessEntries

public java.util.Vector getAccessEntries()
Returns an vector of VacmAccessEntries maintained by this class.
Returns:
A vector of VacmAccessEntry objects mainted by this class.

getKey

public java.lang.Object getKey()
Retrive the key for this VacmGroupAccessEntry.
Returns:
The key as an Object

getKey

public static java.lang.Object getKey(byte[] groupName)
Retrive the key for this VacmGroupAccessEntry. Takes the group name as parameter.
Parameters:
groupName - The VacmGroupName
Returns:
the key as a String object.


Copyright (c)AdventNet Inc., 1996-2004