com.pusher.client.channel
Interface PrivateChannel
- All Superinterfaces:
- Channel
- All Known Subinterfaces:
- PresenceChannel
- All Known Implementing Classes:
- PresenceChannelImpl, PrivateChannelImpl
public interface PrivateChannel
- extends Channel
Represents a subscription to a private channel.
Method Summary |
void |
trigger(String eventName,
String data)
Once subscribed it is possible to trigger client events on a private channel as long as client events have been activated for the a Pusher application. |
trigger
void trigger(String eventName,
String data)
- Once subscribed it is possible to trigger client events on a private channel as long as client events have been activated for the a Pusher application.
There are a number of restrictions enforced with client events. For full details see the client events documentation.
- Parameters:
eventName
- The name of the event to trigger. It must have a client-
prefix.data
- The data to be triggered with the event.
Copyright © 2013 Pusher. All Rights Reserved.