summaryrefslogtreecommitdiff
path: root/src/leap/common/events/events.proto
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-06-09 14:16:33 -0300
committerdrebs <drebs@leap.se>2013-06-13 11:46:21 -0300
commita08b198d889396d25182bb9716817311bcc3be47 (patch)
tree0ec1938b79b527ed94e9d54a21122ce88c0dab39 /src/leap/common/events/events.proto
parentdbbf33d27268266088ee1ab15fc04cef33259250 (diff)
Add possibility of unregistering in events mechanism.
Diffstat (limited to 'src/leap/common/events/events.proto')
-rw-r--r--src/leap/common/events/events.proto8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/leap/common/events/events.proto b/src/leap/common/events/events.proto
index 447b038..a813ed1 100644
--- a/src/leap/common/events/events.proto
+++ b/src/leap/common/events/events.proto
@@ -49,6 +49,13 @@ message RegisterRequest {
required bytes mac = 4;
}
+message UnregisterRequest {
+ required Event event = 1;
+ required int32 port = 2;
+ required string mac_method = 3;
+ required bytes mac = 4;
+}
+
message EventResponse {
enum Status {
@@ -63,6 +70,7 @@ message EventResponse {
service EventsServerService {
rpc register(RegisterRequest) returns (EventResponse);
+ rpc unregister(UnregisterRequest) returns (EventResponse);
rpc signal(SignalRequest) returns (EventResponse);
}