Class Reactor
- java.lang.Object
-
- de.unistuttgart.isw.sfsc.commonjava.zmq.reactor.Reactor
-
- All Implemented Interfaces:
NotThrowingAutoCloseable,AutoCloseable
public class Reactor extends Object implements NotThrowingAutoCloseable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HandleaddShutdownListener(Runnable runnable)voidclose()static Reactorcreate(ContextConfiguration contextConfiguration)ReactiveSocketcreatePublisher()ReactiveSocketcreateSubscriber()
-
-
-
Method Detail
-
create
public static Reactor create(ContextConfiguration contextConfiguration) throws InterruptedException
- Throws:
InterruptedException
-
createSubscriber
public ReactiveSocket createSubscriber() throws ExecutionException, InterruptedException
-
createPublisher
public ReactiveSocket createPublisher() throws ExecutionException, InterruptedException
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceNotThrowingAutoCloseable
-
-