|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.snmp.snmp2.SnmpProxyEntry
The SnmpProxyEntry contains a set of translation parameters used by the proxy forwarder application for forwarding SNMP messages.
| Field Summary | |
(package private) byte[] |
proxyMultipleTargetOut
This is a tag value |
(package private) byte[] |
proxyName
|
(package private) byte[] |
proxySingleTargetOut
|
(package private) byte[] |
proxyTargetParamsIn
|
(package private) byte |
proxyType
|
(package private) int |
rowStatus
|
(package private) byte[] |
snmpProxyContextID
|
(package private) byte[] |
snmpProxyContextName
|
(package private) int |
storageType
|
(package private) static byte |
USM_SECURITY_MODEL
|
| Constructor Summary | |
SnmpProxyEntry(byte[] name)
Constructs a new SnmpProxyEntry taking the proxyName. |
|
SnmpProxyEntry(byte[] proxyName,
byte proxyType,
byte[] snmpProxyContextID,
byte[] snmpProxyContextName,
byte[] proxyTargetParamsIn,
byte[] proxySingleTargetOut)
Constructs a new SnmpProxyEntry taking the proxyName, proxyType, contextID, contextName, paramsIn and targetOut. |
|
| Method Summary | |
byte[] |
getProxyMultipleTargetOut()
Set the SnmpProxyMultipleTargetOut associated with this object. |
byte[] |
getProxyName()
Get the SnmpProxy name associated with this object. |
byte[] |
getProxySingleTargetOut()
Returns the SnmpProxySingleTargetOut associated with this object. |
byte[] |
getProxyTargetParamsIn()
Returns the SnmpProxyTargetParamsIn associated with this object. |
byte |
getProxyType()
Get the proxyType associated with this object. |
int |
getRowStatus()
Retrive the snmpProxyStatus value associated with this object. |
byte[] |
getSnmpProxyContextID()
Returns the SnmpProxyContextID associated with this object. |
byte[] |
getSnmpProxyContextName()
Returns the SnmpProxyContextName associated with this object. |
int |
getStorageType()
Retrive the snmpProxyStorageType value associated with this object. |
boolean |
ifProxyEntryMatches(SnmpPDU pdu,
SnmpTargetParamsTable paramsTable)
Deprecated. instead use the isProxyEntryMatches method. |
boolean |
isProxyEntryMatches(SnmpPDU pdu,
SnmpTargetParamsTable paramsTable)
This method verifies if the this SnmpProxyEntry object succeeds the comparisons needed for selecting a single outgoing management target information. |
boolean |
setProxyMultipleTargetOut(byte[] targetOut)
Get the SnmpProxyMultipleTargetOut associated with this object. |
void |
setProxySingleTargetOut(byte[] targetOut)
Set the SnmpProxySingleTargetOut associated with this object. |
void |
setProxyTargetParamsIn(byte[] paramsIn)
Set the SnmpProxyTargetParamsIn associated with this object. |
void |
setProxyType(byte type)
Set the proxyType associated with this object. |
void |
setRowStatus(int status)
Set the snmpProxyStatus value associated with this object. |
void |
setSnmpProxyContextID(byte[] contextID)
Set the SnmpProxyContextID associated with this object. |
void |
setSnmpProxyContextName(byte[] contextName)
Set the SnmpProxyContextName associated with this object. |
void |
setStorageType(int type)
Set the snmpProxyStorageType value associated with this object. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
static byte USM_SECURITY_MODEL
byte[] proxyName
byte proxyType
byte[] snmpProxyContextID
byte[] snmpProxyContextName
byte[] proxyTargetParamsIn
byte[] proxySingleTargetOut
byte[] proxyMultipleTargetOut
int rowStatus
int storageType
| Constructor Detail |
public SnmpProxyEntry(byte[] name)
name - The snmpProxyName for creating a new SnmpProxyEntry.name is null.
public SnmpProxyEntry(byte[] proxyName,
byte proxyType,
byte[] snmpProxyContextID,
byte[] snmpProxyContextName,
byte[] proxyTargetParamsIn,
byte[] proxySingleTargetOut)
proxyName - The snmpProxyName for creating a new SnmpProxyEntry.proxyType - the proxyType for this proxyEntry.snmpProxyContextID - the contextID which this proxyEntry is
associated with.snmpProxyContextName - the contextName which this proxyEntry is
associated with.proxyTargetParamsIn - The targetParamsIn for this proxyEntry.proxySingleTargetOut - the targetOut for this proxyEntry.| Method Detail |
public byte[] getProxyName()
public byte getProxyType()
setProxyType(byte)public void setProxyType(byte type)
type - The proxyType to be associated with this object.public byte[] getSnmpProxyContextID()
public void setSnmpProxyContextID(byte[] contextID)
contextID - SnmpProxyContextID associated with this object.public byte[] getSnmpProxyContextName()
public void setSnmpProxyContextName(byte[] contextName)
contextName - SnmpProxyContextName associated with this object.public byte[] getProxyTargetParamsIn()
public void setProxyTargetParamsIn(byte[] paramsIn)
public byte[] getProxySingleTargetOut()
public void setProxySingleTargetOut(byte[] targetOut)
targetOut - The SnmpProxySingleTargetout to be associated with
this object.public byte[] getProxyMultipleTargetOut()
public boolean setProxyMultipleTargetOut(byte[] targetOut)
targetOut - the list of tagvalues to be associated with this
object.
public boolean ifProxyEntryMatches(SnmpPDU pdu,
SnmpTargetParamsTable paramsTable)
SnmpPDU - The SnmpPDU which contains the parameters needed
for comparison with this entry.paramsTable - The SnmpTargetParamsTable needed for comparison.
public boolean isProxyEntryMatches(SnmpPDU pdu,
SnmpTargetParamsTable paramsTable)
SnmpPDU - The SnmpPDU which contains the parameters needed
for comparison with this entry.paramsTable - The SnmpTargetParamsTable needed for comparison.public void setStorageType(int type)
type - The snmpProxyStorageType value to be associated with
this object.public int getStorageType()
public void setRowStatus(int status)
status - The snmpProxyStatus value to be associated with
this object.public int getRowStatus()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||