|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.snmp.snmp2.vacm.VacmFamilyEntry
public class VacmFamilyEntry
This class represents the VacmViewTreeFamilyEntry. It represents the vacmViewTreeFamilyEntry OBJECT-TYPE (OID - .1.3.6.1.6.3.16.1.5.2.1) from the ViewBasedAccessControl. This class has attributes like the familyName, familySubtree, familyMask, familyType. These attributes represent Information on a particular family of view subtrees included in or excluded from a particular SNMP context's MIB view. The VacmViewTreeEntry maintains a list of VacmFamilyEntry objects for each viewName.
VacmViewTreeEntry,
Serialized Form| Field Summary | |
|---|---|
static int |
EXCLUDED
Constant value for VacmFamilyType EXCLUDED |
(package private) byte[] |
familyMask
The familyMask which, in combination with the the familySubTree defines the family of view subtrees |
(package private) int |
familyStatus
The status of the row in the table(particular entry) |
(package private) int[] |
familySubTree
The vacmViewTreeFamilySubtree is the MIB subtree which when combined with the corresponding instance of vacmViewTreeFamilyMask defines a family of view subtrees. |
(package private) int |
familyType
The familyType which specifies the family of view subtrees is include or excluded from the MIB Views |
(package private) byte[] |
familyViewName
The human readable name for a family of view subtrees. |
static int |
INCLUDED
Constant value for VacmFamilyType INCLUDED |
(package private) static int |
NONVOLATILE
|
(package private) static int |
OTHER
The below are the various StorageType constants |
(package private) static int |
PERMANENT
|
(package private) static int |
READONLY
|
(package private) int |
storageType
The StorageType variable |
(package private) boolean |
subTreeCheck
|
(package private) static int |
VOLATILE
|
| Constructor Summary | |
|---|---|
VacmFamilyEntry(byte[] name,
int[] subTree)
Create a VacmFamilyEntry with the specified familyName and familySubTree. |
|
| Method Summary | |
|---|---|
(package private) int |
compareLexicographically(int[] oid)
Compares Lexicographically the familySubTree with the another subtree passes as parameter. |
boolean |
equals(VacmFamilyEntry entry)
Compare two Objects for equality. |
byte[] |
getFamilyMask()
Get the vacmViewTreeFamilyMask value. |
int |
getFamilyStatus()
Get the vacmViewTreeFamilyStatus value. |
int |
getFamilyStorageType()
Get the StorageType associated with this VacmFamilyEntry |
int[] |
getFamilySubTree()
Get the vacmViewTreeFamilySubtree value. |
int |
getFamilyType()
Get the vacmViewTreeFamilyType value. |
byte[] |
getFamilyViewName()
Get the vacmViewTreeFamilyViewName value. |
void |
setFamilyMask(byte[] mask)
Set the vacmViewTreeFamilyMask value. |
void |
setFamilyStatus(int status)
Set the vacmViewTreeFamilyStatus value. |
void |
setFamilyStorageType(int storageType)
Set the StorageType associated with this VacmFamilyEntry |
void |
setFamilyType(int type)
Set the vacmViewTreeFamilyType value. |
(package private) boolean |
viewStatus(int[] OID)
This method checks wheather this partricular VacmFamilyEntry is active and also if the requested OID matches the familySubTree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int INCLUDED
public static final int EXCLUDED
byte[] familyViewName
int[] familySubTree
byte[] familyMask
int familyType
static final int OTHER
static final int VOLATILE
static final int NONVOLATILE
static final int PERMANENT
static final int READONLY
int storageType
int familyStatus
boolean subTreeCheck
| Constructor Detail |
|---|
public VacmFamilyEntry(byte[] name,
int[] subTree)
name - The familyViewName for this objectsubTree - The familySubTree for this object.
java.lang.NullPointerException - if the name or subTree is null.| Method Detail |
|---|
public byte[] getFamilyViewName()
public int[] getFamilySubTree()
public byte[] getFamilyMask()
public void setFamilyMask(byte[] mask)
mask - The vacmViewTreeFamilyMask for this object. The size of
this can be from zero to 16. If the input parameter is null then
byte array of length zero is taken. If the length of the byte
array is given greater than 16, then the value is not set and the
previous value will be retained.public int getFamilyType()
public void setFamilyType(int type)
type - The vacmViewTreeFamilyType for this object.public int getFamilyStorageType()
public void setFamilyStorageType(int storageType)
public int getFamilyStatus()
public void setFamilyStatus(int status)
status - The vacmViewTreeFamilyStatus for this family entry.public boolean equals(VacmFamilyEntry entry)
entry - The object to compare this VacmFamilyEntry against.
boolean viewStatus(int[] OID)
OID - The requested variable OID.
int compareLexicographically(int[] oid)
oid - The familySubTree to be compared.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||