org.whispersystems.signalservice.internal.push.OutgoingPushMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signal-service-java Show documentation
Show all versions of signal-service-java Show documentation
Signal Service communication library for Java, unofficial fork
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.signalservice.internal.push;
import com.fasterxml.jackson.annotation.JsonProperty;
public class OutgoingPushMessage {
@JsonProperty
public int type;
@JsonProperty
public int destinationDeviceId;
@JsonProperty
public int destinationRegistrationId;
@JsonProperty
public String content;
public OutgoingPushMessage() {}
public OutgoingPushMessage(int type,
int destinationDeviceId,
int destinationRegistrationId,
String content)
{
this.type = type;
this.destinationDeviceId = destinationDeviceId;
this.destinationRegistrationId = destinationRegistrationId;
this.content = content;
}
public int getDestinationDeviceId() {
return destinationDeviceId;
}
}