-
- All Known Implementing Classes:
ProxyForwarderImpl
public interface ProxyForwarder
TheProxyForwarder
class represents a proxy forwarder instance as defined by RFC 3413.- Version:
- 1.0
- Author:
- Frank Fock
-
-
Field Summary
Fields Modifier and Type Field Description static int
PROXY_TYPE_ALL
static int
PROXY_TYPE_INFORM
static int
PROXY_TYPE_NOTIFY
static int
PROXY_TYPE_READ
static int
PROXY_TYPE_WRITE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <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 Detail
-
PROXY_TYPE_ALL
static final int PROXY_TYPE_ALL
- See Also:
- Constant Field Values
-
PROXY_TYPE_READ
static final int PROXY_TYPE_READ
- See Also:
- Constant Field Values
-
PROXY_TYPE_WRITE
static final int PROXY_TYPE_WRITE
- See Also:
- Constant Field Values
-
PROXY_TYPE_NOTIFY
static final int PROXY_TYPE_NOTIFY
- See Also:
- Constant Field Values
-
PROXY_TYPE_INFORM
static final int PROXY_TYPE_INFORM
- See Also:
- Constant Field Values
-
-
Method Detail
-
forward
<A extends org.snmp4j.smi.Address> boolean forward(ProxyForwardRequest<A> request)
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.
-
-