org.snmp4j.agent
Interface RequestHandler


public interface RequestHandler

A request handler is able to process a request on behalf of the managed object repository represented by a MOServer.

Version:
1.0
Author:
Frank Fock

Method Summary
 boolean isSupported(int pduType)
          Checks whether the supplied PDU type is supported by this request handler.
 void processPdu(Request request, MOServer server)
          Processes a request on behalf of the supplied MOServer.
 

Method Detail

isSupported

boolean isSupported(int pduType)
Checks whether the supplied PDU type is supported by this request handler.

Parameters:
pduType - a PDU type as defined by PDU.
Returns:
true if the PDU type is supported.

processPdu

void processPdu(Request request,
                MOServer server)
Processes a request on behalf of the supplied MOServer.

Parameters:
request - a Request instance.
server - a MOServer containing the managed objects accessible by the request.

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.