org.snmp4j.agent
Interface ProxyForwarder

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
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
 boolean forward(ProxyForwardRequest request)
          Forwards a Request 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

boolean forward(ProxyForwardRequest request)
Forwards a Request if it matches the criteria defined by the SNMP-PROXY-MIB associated with this proxy forwarder.

Parameters:
request - the proxy forward request. If the request has been forwarded successfully to a single target, then the responsePDU will be set to the response PDU received from the target entity.
Returns:
true if the request has been forwarded, false otherwise.

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.