Package | Description |
---|---|
com.pusher.client |
Classes for connecting to Pusher, configuring the
Pusher instance and authenticating subscriptions. |
com.pusher.client.channel.impl | |
com.pusher.client.connection |
Classes related to the Pusher connection, connection state and monitoring connection state changes.
|
com.pusher.client.connection.websocket | |
com.pusher.client.example |
Examples that can be executed as part of testing from the built .jar.
|
Modifier and Type | Method and Description |
---|---|
void |
Pusher.connect(ConnectionEventListener eventListener,
ConnectionState... connectionStates)
Binds a
ConnectionEventListener to the specified events and then
connects to Pusher. |
Modifier and Type | Class and Description |
---|---|
class |
ChannelManager |
Modifier and Type | Method and Description |
---|---|
void |
Connection.bind(ConnectionState state,
ConnectionEventListener eventListener)
Bind to connection events.
|
boolean |
Connection.unbind(ConnectionState state,
ConnectionEventListener eventListener)
Unbind from connection state changes.
|
Modifier and Type | Method and Description |
---|---|
void |
WebSocketConnection.bind(ConnectionState state,
ConnectionEventListener eventListener) |
boolean |
WebSocketConnection.unbind(ConnectionState state,
ConnectionEventListener eventListener) |
Modifier and Type | Class and Description |
---|---|
class |
ExampleApp |
class |
PresenceChannelExampleApp |
class |
PrivateChannelExampleApp |
Copyright © 2017 Pusher. All rights reserved.