Class: CPEE::Frames::SSE

Inherits:
Riddl::SSEImplementation
  • Object
show all
Defined in:
lib/cpee-frames/implementation.rb

Overview

}}}

Instance Method Summary collapse

Instance Method Details

#oncloseObject



404
405
406
407
408
# File 'lib/cpee-frames/implementation.rb', line 404

def onclose
  signals = @a[0]
  signals.remove self
  nil
end

#onopenObject

{{{



397
398
399
400
401
402
# File 'lib/cpee-frames/implementation.rb', line 397

def onopen
  signals = @a[0]
  signals.add self
  send 'started'
  true
end