Class JmqReactor
- java.lang.Object
-
- de.unistuttgart.isw.sfsc.commonjava.zmq.reactor.java.JmqReactor
-
- All Implemented Interfaces:
NotThrowingAutoCloseable,Reactor,java.lang.AutoCloseable
public class JmqReactor extends java.lang.Object implements Reactor
-
-
Method Summary
Modifier and Type Method Description HandleaddShutdownListener(java.lang.Runnable runnable)voidclose()static JmqReactorcreate()ReactiveSocketcreatePublisher()ReactiveSocketcreateSubscriber()
-
-
-
Method Detail
-
create
public static JmqReactor create() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
createSubscriber
public ReactiveSocket createSubscriber() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
- Specified by:
createSubscriberin interfaceReactor- Throws:
java.util.concurrent.ExecutionExceptionjava.lang.InterruptedException
-
createPublisher
public ReactiveSocket createPublisher() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
- Specified by:
createPublisherin interfaceReactor- Throws:
java.util.concurrent.ExecutionExceptionjava.lang.InterruptedException
-
addShutdownListener
public Handle addShutdownListener(java.lang.Runnable runnable)
- Specified by:
addShutdownListenerin interfaceReactor
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceNotThrowingAutoCloseable- Specified by:
closein interfaceReactor
-
-