Class: CARPS::AcceptHandshake

Inherits:
Message
  • Object
show all
Defined in:
lib/carps/crypt/accept_handshake.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Message

#crypt, #crypt=, #delete, #from, #from=, #parse, #path=, #save, #session, #session=

Class Method Details

.parse(blob) ⇒ Object

Parse from the void



28
29
30
31
# File 'lib/carps/crypt/accept_handshake.rb', line 28

def AcceptHandshake.parse blob
    forget, blob = find K.accept_handshake, blob
    [AcceptHandshake.new, blob]
end

Instance Method Details

#emitObject

Emit



34
35
36
# File 'lib/carps/crypt/accept_handshake.rb', line 34

def emit
   K.accept_handshake
end