Package 

Interface Plugin


  • 
    public interface Plugin<T extends Object>
    
                        

    Plugin developers implement a type T that delegates to a server-side subprocess by communicating over gRPC.

    Plugin is the primary interface for plugin developers to implement but should not be accessed directly by plugin users.

    • Method Summary

      Modifier and Type Method Description
      abstract T client(ManagedChannel channel, Broker broker) An implementation of client should return the interface implementation of T.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • client

         abstract T client(ManagedChannel channel, Broker broker)

        An implementation of client should return the interface implementation of T.

        Parameters:
        channel - Should be used by the interface implementation to communicate with the plugin over gRPC.
        broker - Used to facilitate bi-directional communication between client and server.