Interface RequestHandler<R extends Request<?,?,?>>



  • public interface RequestHandler<R extends Request<?,?,?>>
    A request handler is able to process a request on behalf of the managed object repository represented by a MOServer.
    Version:
    1.0
    Author:
    Frank Fock
    • Method Detail

      • isSupported

        boolean isSupported​(int pduType)
        Checks whether the supplied PDU type is supported by this request handler.
        Parameters:
        pduType - a PDU type as defined by PDU.
        Returns:
        true if the PDU type is supported.
      • processPdu

        void processPdu​(R request,
                        MOServer server)
        Processes a request on behalf of the supplied MOServer.
        Parameters:
        request - a Request instance.
        server - a MOServer containing the managed objects accessible by the request.