Package org.opennms.core.ipc.twin.api
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
publish(T obj)
-
-
-
Method Detail
-
publish
void publish(T obj) throws java.io.IOException
- Parameters:
obj
- an object that needs replication on Minion- Throws:
java.io.IOException
-
-