Class: CARPS::Handshake
Overview
A cryptographic handshake request
Class Method Summary collapse
-
.parse(blob) ⇒ Object
Parse from the void.
Instance Method Summary collapse
-
#emit ⇒ Object
Emit.
Methods inherited from Message
#crypt, #crypt=, #delete, #from, #from=, #parse, #path=, #save, #session, #session=
Class Method Details
.parse(blob) ⇒ Object
Parse from the void
29 30 31 32 |
# File 'lib/carps/crypt/handshake.rb', line 29 def Handshake.parse blob forget, blob = find K.handshake, blob [Handshake.new, blob] end |
Instance Method Details
#emit ⇒ Object
Emit
35 36 37 |
# File 'lib/carps/crypt/handshake.rb', line 35 def emit K.handshake end |