self_msgproto 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/self_msgproto.rb +11 -0
- data/lib/self_msgproto/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40a52c6ccc476d31426315e0f5705366c8db1d26e1e6a1d1fcc94cee97248c44
|
4
|
+
data.tar.gz: 0ed9b446cee2957b194f7269f7b4c8bf30479c0f52e283c677608518ef4a7ea5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e13d417e920cd568b5204d75048ff712d5a1b5bc35c0963bbb28a4361ec08e1dbbe9f3d1ed5506b283804340d75bd95465e4e28bc87196a5dbb843175fbdcc1b
|
7
|
+
data.tar.gz: 7d168962441448ea61727f282dc502d7f92589a9cfdaa281bd43a80a0df7c2f486c7776059898300a0b8eb0698b4f389241a02718959772ca356038406881fe1
|
data/lib/self_msgproto.rb
CHANGED
@@ -9,4 +9,15 @@ require 'self_msgproto/notification'
|
|
9
9
|
require 'self_msgproto/self_msgproto'
|
10
10
|
|
11
11
|
module SelfMsg
|
12
|
+
|
13
|
+
MsgTypeMSG = 0
|
14
|
+
MsgTypeACK = 1
|
15
|
+
MsgTypeERR = 2
|
16
|
+
MsgTypeAUTH = 3
|
17
|
+
MsgTypeACL = 4
|
18
|
+
|
19
|
+
AclCommandLIST = 0
|
20
|
+
AclCommandPERMIT = 1
|
21
|
+
AclCommandREVOKE = 2
|
22
|
+
|
12
23
|
end
|