Interface PluginHost


  • public interface PluginHost
    Interface to support miscellaneous requests from a particular plug-in to the host system.
    Since:
    10.0
    • Method Detail

      • enableReliability

        void enableReliability​(Direction direction)
        Enable reliable messaging for the chain that this plug-in belongs to, in a particular direction i.e. TOWARDS_HOST means that the host is expected to acknowledge messages that this plug-in sends towards the host, and TOWARDS_TRANSPORT means that the transport is expected to acknowledge flushes for messages sent from the host. Must be called before this plug-in attempts to perform any other reliable messaging operations, and before the plug-in has been fully started. Should be called once for each direction if this chain is performing bi-directional reliable messaging.
      • isShuttingDown

        boolean isShuttingDown()
        Check if host is shutting down.