All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pusher.client.channel.PrivateChannel.html Maven / Gradle / Ivy

There is a newer version: 2.4.4
Show newest version





PrivateChannel (Pusher Java Websocket API)












com.pusher.client.channel

Interface PrivateChannel

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void trigger(java.lang.String eventName, java.lang.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.
    • Method Detail

      • trigger

        void trigger(java.lang.String eventName,
                     java.lang.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.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy