Package net.bluemind.core.rest.vertx
Class VertxStreamConsumerControlHandler
java.lang.Object
net.bluemind.core.rest.vertx.VertxStreamConsumerControlHandler
-
Constructor Summary
ConstructorDescriptionVertxStreamConsumerControlHandler
(io.vertx.core.Vertx vertx, VertxStreamConsumer vertxStreamConsumer, String controlAddress) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleStreamObject
(io.vertx.core.eventbus.Message<VertxRestStreamObject> event) void
pause()
void
resume()
void
void
start
(boolean andResume)
-
Constructor Details
-
VertxStreamConsumerControlHandler
public VertxStreamConsumerControlHandler(io.vertx.core.Vertx vertx, VertxStreamConsumer vertxStreamConsumer, String controlAddress)
-
-
Method Details
-
start
public void start(boolean andResume) -
handleStreamObject
-
pause
public void pause() -
resume
public void resume() -
sendClose
public void sendClose()
-