Package | Description |
---|---|
com.pusher.client.channel |
Classes related to channels, which are subscriptions to data within Pusher, and channel event listener interfaces.
|
com.pusher.client.channel.impl | |
com.pusher.client.example |
Examples that can be executed as part of testing from the built .jar.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ChannelEventListener
Client applications should implement this interface if they want to be
notified when events are received on a public or private channel.
|
interface |
PresenceChannelEventListener
Used to listen for presence specific events as well as those defined by the
PrivateChannelEventListener and parent interfaces. |
interface |
PrivateChannelEventListener
Interface to listen to private channel events.
|
Modifier and Type | Method and Description |
---|---|
void |
Channel.bind(String eventName,
SubscriptionEventListener listener)
Binds a
SubscriptionEventListener to an event. |
void |
Channel.unbind(String eventName,
SubscriptionEventListener listener)
Unbinds a previously bound
SubscriptionEventListener from an
event. |
Modifier and Type | Method and Description |
---|---|
void |
ChannelImpl.bind(String eventName,
SubscriptionEventListener listener) |
void |
PrivateChannelImpl.bind(String eventName,
SubscriptionEventListener listener) |
void |
PresenceChannelImpl.bind(String eventName,
SubscriptionEventListener listener) |
void |
ChannelImpl.unbind(String eventName,
SubscriptionEventListener listener) |
Modifier and Type | Class and Description |
---|---|
class |
ExampleApp |
class |
PresenceChannelExampleApp |
class |
PrivateChannelExampleApp |
Copyright © 2018 Pusher. All rights reserved.