public interface RequestFactory<S extends EventObject,R,REQ extends Request<S,R,? extends SubRequest>>
RequestFactory
is a factory for (SNMP/AgentX) requests.
The parameter S is a subclass of EventObject
that
specifies the type of the request source.Modifier and Type | Method and Description |
---|---|
REQ |
createRequest(S initiatingEvent,
CoexistenceInfo cinfo)
Creates a
Request from a CommandResponderEvent
responder event. |
REQ createRequest(S initiatingEvent, CoexistenceInfo cinfo)
Request
from a CommandResponderEvent
responder event.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.Copyright © 2017 SNMP4J.org. All rights reserved.