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 Detail

      • createRequest

        REQ 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.