Interface TwinPublisher.Session<T>

  • Type Parameters:
    T - type of object that is getting replicated.
    All Superinterfaces:
    AutoCloseable, Closeable
    Enclosing interface:
    TwinPublisher

    public static interface TwinPublisher.Session<T>
    extends Closeable
    Session that can publish initial objects and updates to T.
    • Method Detail

      • publish

        void publish​(T obj)
              throws IOException
        Parameters:
        obj - an object that needs replication on Minion
        Throws:
        IOException