Files
Desktop/packages/mock-server/protos/server/PubSubMessage.proto
T
ae68dc8b49 Move mock server into the repo
Co-authored-by: trevor-signal <trevor@signal.org>
Co-authored-by: jamiebuilds-signal <jamie@signal.org>
2026-08-13 12:02:55 -07:00

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;
}