mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-27 14:43:16 +01:00
25 lines
463 B
Protocol Buffer
25 lines
463 B
Protocol Buffer
/**
|
|
* Copyright 2014 Signal Messenger, LLC
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
syntax = "proto2";
|
|
|
|
package textsecure;
|
|
|
|
option java_package = "org.whispersystems.textsecuregcm.storage";
|
|
option java_outer_classname = "PubSubProtos";
|
|
|
|
message PubSubMessage {
|
|
enum Type {
|
|
UNKNOWN = 0;
|
|
QUERY_DB = 1;
|
|
DELIVER = 2;
|
|
KEEPALIVE = 3;
|
|
CLOSE = 4;
|
|
CONNECTED = 5;
|
|
}
|
|
|
|
optional Type type = 1;
|
|
optional bytes content = 2;
|
|
}
|