Module org.snmp4j.agent
Package org.snmp4j.agent.request
Interface RequestFactory<S extends EventObject,R,REQ extends Request<S,R,? extends SubRequest>>
-
public interface RequestFactory<S extends EventObject,R,REQ extends Request<S,R,? extends SubRequest>>TheRequestFactoryis a factory for (SNMP/AgentX) requests. The parameter S is a subclass ofEventObjectthat specifies the type of the request source.- Version:
- 1.0
- Author:
- Frank Fock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description REQcreateRequest(S initiatingEvent, CoexistenceInfo cinfo)Creates aRequestfrom aCommandResponderEventresponder event.
-
-
-
Method Detail
-
createRequest
REQ createRequest(S initiatingEvent, CoexistenceInfo cinfo)
Creates aRequestfrom aCommandResponderEventresponder event.- Parameters:
initiatingEvent- the initiating event instance, which is aCommandResponderEventinstance 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.
-
-