Package | Description |
---|---|
com.pusher.client |
Classes for connecting to Pusher, configuring the
Pusher instance and authenticating subscriptions. |
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 | Method and Description |
---|---|
Channel |
Pusher.subscribe(String channelName,
ChannelEventListener listener,
String... eventNames)
Binds a
ChannelEventListener to the specified events and then
subscribes to a public Channel . |
Modifier and Type | Interface and Description |
---|---|
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 |
---|---|
ChannelEventListener |
ChannelImpl.getEventListener() |
ChannelEventListener |
InternalChannel.getEventListener() |
Modifier and Type | Method and Description |
---|---|
void |
ChannelImpl.setEventListener(ChannelEventListener listener) |
void |
InternalChannel.setEventListener(ChannelEventListener listener) |
void |
ChannelManager.subscribeTo(InternalChannel channel,
ChannelEventListener listener,
String... eventNames) |
Modifier and Type | Class and Description |
---|---|
class |
ExampleApp |
class |
PresenceChannelExampleApp |
class |
PrivateChannelExampleApp |
Copyright © 2017 Pusher. All rights reserved.