Class PubnubStreamingService
java.lang.Object
info.bitrich.xchangestream.service.pubnub.PubnubStreamingService
Created by Lukas Zaoralek on 14.11.17.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Completable
connect()
io.reactivex.rxjava3.core.Completable
boolean
isAlive()
io.reactivex.rxjava3.core.Observable<com.fasterxml.jackson.databind.JsonNode>
subscribeChannel
(String channelName) void
useCompressedMessages
(boolean compressedMessages)
-
Constructor Details
-
PubnubStreamingService
-
-
Method Details
-
connect
public io.reactivex.rxjava3.core.Completable connect() -
subscribeChannel
public io.reactivex.rxjava3.core.Observable<com.fasterxml.jackson.databind.JsonNode> subscribeChannel(String channelName) -
disconnect
public io.reactivex.rxjava3.core.Completable disconnect() -
isAlive
public boolean isAlive() -
useCompressedMessages
public void useCompressedMessages(boolean compressedMessages)
-