Class NullRpcPlugin

    • Constructor Detail

      • NullRpcPlugin

        public NullRpcPlugin()
    • Method Detail

      • initialize

        public void initialize​(int serverPort)
        Description copied from class: AnyRpcPlugin
        Initializes the plugin, possibly creating any sockets/files/channels/connections needed.
        Specified by:
        initialize in class AnyRpcPlugin
        Parameters:
        serverPort - the port to listen for RPCs on.
      • startServer

        public void startServer​(EvaluationRuntimeServerInterface evaluationRuntime,
                                CloneControllerServerInterface cloneController)
        Description copied from class: AnyRpcPlugin
        Starts the server using the two specified implementations of the RPC-agnostic EvaluationRuntime and CloneController interfaces.
        Specified by:
        startServer in class AnyRpcPlugin
        Parameters:
        evaluationRuntime - the evaluation runtime service implementation
        cloneController - the clone controller service implementation
      • serverStarted

        public boolean serverStarted()
        Description copied from class: AnyRpcPlugin
        Returns true if the server has been started and has not stopped.
        Specified by:
        serverStarted in class AnyRpcPlugin
      • shutdown

        public void shutdown()
        Description copied from class: AnyRpcPlugin
        Performs any actions that are necessary to shut down any clients or servers started from this plugin.
        Specified by:
        shutdown in class AnyRpcPlugin
      • traceContextPropagating

        public Runnable traceContextPropagating​(Runnable runnable)
        Description copied from class: AnyRpcPlugin
        Wraps the provided Runnable so as to assure propagation of the tracing context.
        Specified by:
        traceContextPropagating in class AnyRpcPlugin
        Parameters:
        runnable - the Runnable to wrap
        Returns:
        a Runnable that sets up propagation of the tracing context and then invokes the original one