mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-08-30 18:05:19 +01:00
Co-authored-by: trevor-signal <trevor@signal.org> Co-authored-by: jamiebuilds-signal <jamie@signal.org>
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;
|
|
}
|