- All Known Implementing Classes:
ProxyForwarderImpl
public interface ProxyForwarder
The
ProxyForwarder
class represents a proxy forwarder instance as defined by RFC 3413.- Version:
- 1.0
- Author:
- Frank Fock
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescription<A extends org.snmp4j.smi.Address>
booleanforward
(ProxyForwardRequest<A> request) Forwards aRequest
if it matches the criteria defined by the SNMP-PROXY-MIB associated with this proxy forwarder.
-
Field Details
-
PROXY_TYPE_ALL
static final int PROXY_TYPE_ALL- See Also:
-
PROXY_TYPE_READ
static final int PROXY_TYPE_READ- See Also:
-
PROXY_TYPE_WRITE
static final int PROXY_TYPE_WRITE- See Also:
-
PROXY_TYPE_NOTIFY
static final int PROXY_TYPE_NOTIFY- See Also:
-
PROXY_TYPE_INFORM
static final int PROXY_TYPE_INFORM- See Also:
-
-
Method Details
-
forward
Forwards aRequest
if it matches the criteria defined by the SNMP-PROXY-MIB associated with this proxy forwarder.- Type Parameters:
A
- type of the peerAddress
.- Parameters:
request
- the proxy forward request. If the request has been forwarded successfully to a single target, then theresponsePDU
will be set to the response PDU received from the target entity.- Returns:
true
if the request has been forwarded,false
otherwise.
-