Class ChannelSubscription
- java.lang.Object
-
- io.getstream.core.faye.subscription.ChannelSubscription
-
public class ChannelSubscription extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ChannelSubscription(FayeClient client, java.lang.String channel)ChannelSubscription(FayeClient client, java.lang.String channel, ChannelDataCallback channelDataCallback, SubscriptionCancelledCallback onCancelledCallback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcall(Message message)voidcancel()ChannelSubscriptionsetWithChannel(WithChannelDataCallback withChannel)
-
-
-
Constructor Detail
-
ChannelSubscription
public ChannelSubscription(FayeClient client, java.lang.String channel)
-
ChannelSubscription
public ChannelSubscription(FayeClient client, java.lang.String channel, ChannelDataCallback channelDataCallback, SubscriptionCancelledCallback onCancelledCallback)
-
-
Method Detail
-
setWithChannel
public ChannelSubscription setWithChannel(WithChannelDataCallback withChannel)
-
call
public void call(Message message)
-
cancel
public void cancel()
-
-