-
public class PubSubProvides ability to receive notifications from PubSub service via WebSockets.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPubSub.Channelpublic classPubSub.PubSubException
-
Method Summary
Modifier and Type Method Description Single<PubSub.Channel>joinChannel(String topic, Map params)Joins channel with specified topic Single<PubSub.Channel>joinChannel(String topic)See joinChannel voidstop()-
-
Method Detail
-
joinChannel
Single<PubSub.Channel> joinChannel(String topic, Map params)
Joins channel with specified topic
- Parameters:
topic- Topic of the channel to joinparams- Topic params
-
joinChannel
Single<PubSub.Channel> joinChannel(String topic)
See joinChannel
-
stop
void stop()
-
-
-
-