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>>
The
RequestFactory
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
Modifier and TypeMethodDescriptioncreateRequest
(S initiatingEvent, CoexistenceInfo cinfo) Creates aRequest
from aCommandResponderEvent
responder event.
-
Method Details
-
createRequest
Creates aRequest
from aCommandResponderEvent
responder event.- Parameters:
initiatingEvent
- the initiating event instance, which is aCommandResponderEvent
instance for SNMP4J by default.cinfo
- optional coexistence information that provides context and context engine ID independently of the SNMP version of the initiatingEvent.- Returns:
- a Request instance.
-