org.snmp4j.agent.request
Interface RequestFactory<S extends java.util.EventObject>


public interface RequestFactory<S extends java.util.EventObject>

The RequestRactory is a factory for (SNMP/AgentX) requests. The parameter S is a subclass of EventObject that specifies the type of the request source.

Version:
1.0
Author:
Frank Fock

Method Summary
 Request createRequest(S initiatingEvent, CoexistenceInfo cinfo)
          Creates a Request from a CommandResponderEvent responder event.
 

Method Detail

createRequest

Request createRequest(S initiatingEvent,
                      CoexistenceInfo cinfo)
Creates a Request from a CommandResponderEvent responder event.

Parameters:
initiatingEvent - the initiating event instance, which is a CommandResponderEvent instance for SNMP4J by default.
cinfo - optional coexistence information that provides context and context engine ID independently from the SNMP version of the initiatingEvent.
Returns:
a Request instance.

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.