-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathChannel.java
More file actions
26 lines (21 loc) · 801 Bytes
/
Channel.java
File metadata and controls
26 lines (21 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package io.ably.lib.realtime;
import io.ably.lib.types.AblyException;
import io.ably.lib.types.ChannelOptions;
import io.ably.lib.push.PushChannel;
import io.ably.lib.objects.ObjectsPlugin;
public class Channel extends ChannelBase {
/**
* A {@link PushChannel} object.
* <p>
* Spec: RSH4
*/
public final PushChannel push;
Channel(AblyRealtime ably, String name, ChannelOptions options, ObjectsPlugin objectsPlugin) throws AblyException {
super(ably, name, options, objectsPlugin);
this.push = ((io.ably.lib.rest.AblyRest) ably).channels.get(name, options).push;
}
/**
* An interface whereby a client maybe notified of messages changes on a channel.
*/
public interface MessageListener extends ChannelBase.MessageListener {}
}