| java.lang.Object org.snmp4j.agent.mo.snmp.SnmpProxyMIB
Inner Class :final public static class SnmpProxyTypeEnum | |
Method Summary | |
public boolean | addProxyEntry(OctetString name, int type, OctetString contextEngineId, OctetString contextName, OctetString targetParamsIn, OctetString singleTargetOut, OctetString multipleTargetOut, int storageType) Adds a proxy entry to the snmpProxyTable (descriptions taken from
SNMP-PROXY-MIB definition).
Parameters: name - The locally arbitrary, but unique identifier associatedwith this snmpProxyEntry. Parameters: type - The type of message that may be forwarded usingthe translation parameters defined by this entry.See ProxyTypeEnum for possible values. Parameters: contextEngineId - The contextEngineID contained in messages thatmay be forwarded using the translation parametersdefined by this entry. Parameters: contextName - The contextName contained in messages that may beforwarded using the translation parameters definedby this entry.This object is optional, and if not supported, thecontextName contained in a message is ignored whenselecting an entry in the snmpProxyTable. Parameters: targetParamsIn - This object selects an entry in the snmpTargetParamsTable.The selected entry is used to determine which row of thesnmpProxyTable to use for forwarding received messages. Parameters: singleTargetOut - This object selects a management target defined in thesnmpTargetAddrTable (in the SNMP-TARGET-MIB). | public List | getProxyRows(int proxyType, OctetString contextEngineID, OctetString context) | public MOTable | getSnmpProxyEntry() Returns the proxy configuration table defined as "snmpProxyTable". | public void | registerMOs(MOServer server, OctetString context) | public SnmpProxyRow | removeProxyEntry(OctetString name) Removes the proxy entry with the specified name. | public void | unregisterMOs(MOServer server, OctetString context) |
idxSnmpProxyContextEngineID | final static int idxSnmpProxyContextEngineID(Code) | | |
idxSnmpProxyContextName | final static int idxSnmpProxyContextName(Code) | | |
idxSnmpProxyMultipleTargetOut | final static int idxSnmpProxyMultipleTargetOut(Code) | | |
idxSnmpProxyRowStatus | final static int idxSnmpProxyRowStatus(Code) | | |
idxSnmpProxySingleTargetOut | final static int idxSnmpProxySingleTargetOut(Code) | | |
idxSnmpProxyStorageType | final static int idxSnmpProxyStorageType(Code) | | |
idxSnmpProxyTargetParamsIn | final static int idxSnmpProxyTargetParamsIn(Code) | | |
idxSnmpProxyType | final static int idxSnmpProxyType(Code) | | |
SnmpProxyMIB | public SnmpProxyMIB()(Code) | | |
addProxyEntry | public boolean addProxyEntry(OctetString name, int type, OctetString contextEngineId, OctetString contextName, OctetString targetParamsIn, OctetString singleTargetOut, OctetString multipleTargetOut, int storageType)(Code) | | Adds a proxy entry to the snmpProxyTable (descriptions taken from
SNMP-PROXY-MIB definition).
Parameters: name - The locally arbitrary, but unique identifier associatedwith this snmpProxyEntry. Parameters: type - The type of message that may be forwarded usingthe translation parameters defined by this entry.See ProxyTypeEnum for possible values. Parameters: contextEngineId - The contextEngineID contained in messages thatmay be forwarded using the translation parametersdefined by this entry. Parameters: contextName - The contextName contained in messages that may beforwarded using the translation parameters definedby this entry.This object is optional, and if not supported, thecontextName contained in a message is ignored whenselecting an entry in the snmpProxyTable. Parameters: targetParamsIn - This object selects an entry in the snmpTargetParamsTable.The selected entry is used to determine which row of thesnmpProxyTable to use for forwarding received messages. Parameters: singleTargetOut - This object selects a management target defined in thesnmpTargetAddrTable (in the SNMP-TARGET-MIB). Theselected target is defined by an entry in thesnmpTargetAddrTable whose index value (snmpTargetAddrName)is equal to this object.This object is only used when selection of a singletarget is required (i.e. when forwarding an incomingread or write request). Parameters: multipleTargetOut - This object selects a set of management targets definedin the snmpTargetAddrTable (in the SNMP-TARGET-MIB).This object is only used when selection of multipletargets is required (i.e. when forwarding an incomingnotification). Parameters: storageType - The storage type of this conceptual row.Conceptual rows having the value 'permanent' need notallow write-access to any columnar objects in the row. SeeStorageType for possible values.true if the row could be added, false otherwise. |
getSnmpProxyEntry | public MOTable getSnmpProxyEntry()(Code) | | Returns the proxy configuration table defined as "snmpProxyTable".
a MOTable instance. |
removeProxyEntry | public SnmpProxyRow removeProxyEntry(OctetString name)(Code) | | Removes the proxy entry with the specified name.
Parameters: name - the name of the proxy entry to remove from the proxy configuration.the removed row or null if no such row exists. |
|
|