|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.snmp.snmp2.SnmpProxyModule
The SnmpProxyModule maintains the SnmpTargetAddrTable, SnmpTargetParamsTable and SnmpProxyTable. The API user need not instantiate these classes. It also has some method to validate the tagValues.
| Field Summary | |
static byte |
CR_DELIMIT
Constant for the ASCII carriage return(CR) delimiter character |
static byte |
INFORM
Constant for the SnmpProxyType inform |
static byte |
LF_DELIMIT
Constant for the ASCII line feed(LF) delimiter character |
(package private) SnmpProxyTable |
proxyTable
|
static byte |
READ
Constant for the SnmpProxyType read |
static byte |
SNMP_UDP_DOMAIN
Constant for the SnmpUDPDomain |
static byte |
SPACE_DELIMIT
Constant for the ASCII space delimiter character |
static byte |
TAB_DELIMIT
Constant for the ASCII tab delimiter character |
(package private) SnmpTargetAddrTable |
targetAddrTable
|
(package private) SnmpTargetParamsTable |
targetParamsTable
|
static byte |
TRAP
Constant for the SnmpProxyType trap |
static byte |
WRITE
Constant for the SnmpProxyType write |
| Constructor Summary | |
SnmpProxyModule()
Instantiates the SnmpTargetAddrTable, SnmpTargetParamsTable and SnmpProxyTable. |
|
| Method Summary | |
static int |
compareTo(byte[] first,
byte[] second)
Compares two byte arrays |
(package private) static int |
getMinSize(byte[] a,
byte[] b)
Give the minimum size of two byte arrays. |
SnmpProxyTable |
getSnmpProxyTable()
Returns the SnmpProxyTable associated with this instance. |
SnmpTargetAddrTable |
getTargetAddrTable()
Returns the SnmpTargetAddrTable associated with this instance. |
SnmpTargetParamsTable |
getTargetParamsTable()
Returns the SnmpTargetParamsTable associated with this instance. |
static boolean |
validateTagValue(byte[] tag)
Method to validate the SnmpTagValue. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final byte SNMP_UDP_DOMAIN
public static final byte READ
public static final byte WRITE
public static final byte TRAP
public static final byte INFORM
public static final byte SPACE_DELIMIT
public static final byte TAB_DELIMIT
public static final byte CR_DELIMIT
public static final byte LF_DELIMIT
SnmpTargetAddrTable targetAddrTable
SnmpTargetParamsTable targetParamsTable
SnmpProxyTable proxyTable
| Constructor Detail |
public SnmpProxyModule()
| Method Detail |
public SnmpTargetAddrTable getTargetAddrTable()
public SnmpTargetParamsTable getTargetParamsTable()
public SnmpProxyTable getSnmpProxyTable()
public static int compareTo(byte[] first,
byte[] second)
first - The first array of bytes used for comparison.second - The second array of bytes used for comparison.
static int getMinSize(byte[] a,
byte[] b)
oid1 - array of integeroid2 - array of integerpublic static boolean validateTagValue(byte[] tag)
tag - The tagValue to be validated for delimiter characters.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||