|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.percederberg.mibble.snmp.SnmpAccess
public class SnmpAccess
An SNMP access mode value. This class is used to encapsulate the access value constants used in several SNMP macro types. Note that due to the support for both SMIv1 and SMIv2 not all of the constants defined in this class can be present in all files. Please see the comments for each individual constant regarding the support for different SNMP versions.
Field Summary | |
---|---|
static SnmpAccess |
ACCESSIBLE_FOR_NOTIFY
The accesible for notify SNMP access mode. |
static SnmpAccess |
NOT_ACCESSIBLE
The not accesible SNMP access mode. |
static SnmpAccess |
NOT_IMPLEMENTED
The not implemented SNMP access mode. |
static SnmpAccess |
READ_CREATE
The read-create SNMP access mode. |
static SnmpAccess |
READ_ONLY
The read-only SNMP access mode. |
static SnmpAccess |
READ_WRITE
The read-write SNMP access mode. |
static SnmpAccess |
WRITE_ONLY
The write-only SNMP access mode. |
Method Summary | |
---|---|
boolean |
canRead()
Checks if this access mode allows reading the value. |
boolean |
canWrite()
Checks if this access mode allows writing the value. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SnmpAccess NOT_IMPLEMENTED
public static final SnmpAccess NOT_ACCESSIBLE
public static final SnmpAccess ACCESSIBLE_FOR_NOTIFY
public static final SnmpAccess READ_ONLY
public static final SnmpAccess READ_WRITE
public static final SnmpAccess READ_CREATE
public static final SnmpAccess WRITE_ONLY
Method Detail |
---|
public boolean canRead()
public boolean canWrite()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |