public class Factory extends java.lang.Object
newPublicChannel(String) creates a new instance of that class every
time it is called.| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
com.pusher.client.channel.impl.ChannelManager |
getChannelManager() |
com.pusher.client.connection.impl.InternalConnection |
getConnection(java.lang.String apiKey,
PusherOptions options) |
java.util.concurrent.ScheduledExecutorService |
getTimers() |
com.pusher.client.channel.impl.PresenceChannelImpl |
newPresenceChannel(com.pusher.client.connection.impl.InternalConnection connection,
java.lang.String channelName,
Authorizer authorizer) |
com.pusher.client.channel.impl.PrivateChannelImpl |
newPrivateChannel(com.pusher.client.connection.impl.InternalConnection connection,
java.lang.String channelName,
Authorizer authorizer) |
com.pusher.client.channel.impl.ChannelImpl |
newPublicChannel(java.lang.String channelName) |
org.java_websocket.client.WebSocketClient |
newWebSocketClientWrapper(java.net.URI uri,
java.net.Proxy proxy,
com.pusher.client.connection.websocket.WebSocketListener webSocketListener) |
void |
queueOnEventThread(java.lang.Runnable r) |
void |
shutdownThreads() |
public Factory()
public com.pusher.client.connection.impl.InternalConnection getConnection(java.lang.String apiKey, PusherOptions options)
public org.java_websocket.client.WebSocketClient newWebSocketClientWrapper(java.net.URI uri, java.net.Proxy proxy, com.pusher.client.connection.websocket.WebSocketListener webSocketListener) throws javax.net.ssl.SSLException
javax.net.ssl.SSLExceptionpublic java.util.concurrent.ScheduledExecutorService getTimers()
public com.pusher.client.channel.impl.ChannelImpl newPublicChannel(java.lang.String channelName)
public com.pusher.client.channel.impl.PrivateChannelImpl newPrivateChannel(com.pusher.client.connection.impl.InternalConnection connection, java.lang.String channelName, Authorizer authorizer)
public com.pusher.client.channel.impl.PresenceChannelImpl newPresenceChannel(com.pusher.client.connection.impl.InternalConnection connection, java.lang.String channelName, Authorizer authorizer)
public com.pusher.client.channel.impl.ChannelManager getChannelManager()
public void queueOnEventThread(java.lang.Runnable r)
public void shutdownThreads()