-
Notifications
You must be signed in to change notification settings - Fork 1k
/
Copy pathContainerFormats.proto
72 lines (60 loc) · 1.4 KB
/
ContainerFormats.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/**
* Copyright (C) 2013-2017 Akka.NET project <https://github.com/akkadotnet/akka.net>
*/
syntax = "proto3";
package Akka.Remote.Serialization.Proto.Msg;
/******************************************
ActorSelection related formats
*******************************************/
message SelectionEnvelope {
Payload payload = 1;
repeated Selection pattern = 2;
}
message Selection {
enum PatternType {
NO_PATERN = 0;
PARENT = 1;
CHILD_NAME = 2;
CHILD_PATTERN = 3;
}
PatternType type = 1;
string matcher = 2;
}
/******************************************
Common types
*******************************************/
// Defines a remote ActorRef that "remembers" and uses its original Actor instance on the original node.
message ActorRefData {
string path = 1;
}
// Defines a remote address.
message AddressData {
string system = 1;
string hostname = 2;
uint32 port = 3;
string protocol = 4;
}
// Defines a payload.
message Payload {
bytes message = 1;
int32 serializerId = 2;
bytes messageManifest = 3;
}
message Identify {
Payload messageId = 1;
}
message ActorIdentity {
Payload correlationId = 1;
string path = 2;
}
message RemoteWatcherHeartbeatResponse {
uint64 uid = 1;
}
message ExceptionData {
string typeName = 1;
string message = 2;
string stackTrace = 3;
string source = 4;
ExceptionData innerException = 5;
map<string, Payload> customFields = 6;
}