Interface TwinPublisher.Session<T>

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

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

      • publish

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