com.pusher.client.Client.html Maven / Gradle / Ivy
Client (Pusher Java Websocket API)
com.pusher.client
Interface Client
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
void
connect()
void
connect(ConnectionEventListener eventListener,
ConnectionState... connectionStates)
void
disconnect()
Channel
getChannel(java.lang.String channelName)
Connection
getConnection()
PresenceChannel
getPresenceChannel(java.lang.String channelName)
PrivateChannel
getPrivateChannel(java.lang.String channelName)
Channel
subscribe(java.lang.String channelName)
Channel
subscribe(java.lang.String channelName,
ChannelEventListener listener,
java.lang.String... eventNames)
PresenceChannel
subscribePresence(java.lang.String channelName)
PresenceChannel
subscribePresence(java.lang.String channelName,
PresenceChannelEventListener listener,
java.lang.String... eventNames)
PrivateChannel
subscribePrivate(java.lang.String channelName)
PrivateChannel
subscribePrivate(java.lang.String channelName,
PrivateChannelEventListener listener,
java.lang.String... eventNames)
void
unsubscribe(java.lang.String channelName)
-
-
Method Detail
-
getConnection
Connection getConnection()
-
connect
void connect()
-
connect
void connect(ConnectionEventListener eventListener,
ConnectionState... connectionStates)
-
disconnect
void disconnect()
-
subscribe
Channel subscribe(java.lang.String channelName,
ChannelEventListener listener,
java.lang.String... eventNames)
-
subscribePrivate
PrivateChannel subscribePrivate(java.lang.String channelName)
-
subscribePrivate
PrivateChannel subscribePrivate(java.lang.String channelName,
PrivateChannelEventListener listener,
java.lang.String... eventNames)
-
subscribePresence
PresenceChannel subscribePresence(java.lang.String channelName)
-
subscribePresence
PresenceChannel subscribePresence(java.lang.String channelName,
PresenceChannelEventListener listener,
java.lang.String... eventNames)
-
unsubscribe
void unsubscribe(java.lang.String channelName)
-
getChannel
Channel getChannel(java.lang.String channelName)
-
getPrivateChannel
PrivateChannel getPrivateChannel(java.lang.String channelName)
-
getPresenceChannel
PresenceChannel getPresenceChannel(java.lang.String channelName)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy