org.marvec.pusher.data.TriggerData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pusher Show documentation
Show all versions of pusher Show documentation
This is a Java library for interacting with Pusher.com's HTTP API
The newest version!
package org.marvec.pusher.data;
import java.util.List;
/**
* POJO for JSON encoding of trigger request bodies.
*/
public class TriggerData {
private final List channels;
private final String name;
private final String data;
private final String socketId;
public TriggerData(final List channels, final String eventName, final String data, final String socketId) {
this.channels = channels;
this.name = eventName;
this.data = data;
this.socketId = socketId;
}
public List getChannels() {
return channels;
}
public String getName() {
return name;
}
public String getData() {
return data;
}
public String getSocketId() {
return socketId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy