Sha256: 673d9c2cffabfc3bcf91ea65c24aa6a67994be2c294d356593b94531a632d95d

Contents?: true

Size: 204 Bytes

Versions: 2

Compression:

Stored size: 204 Bytes

Contents

class BackPingHandler
  include Wamp::Worker::BackgroundHandler

  subscribe "com.example.back.ping", :ping

  def ping
    self.session.publish "com.example.back.pong", self.args, self.kwargs
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wamp-worker-0.1.1 test/wamp_test/app/handlers/back_ping_handler.rb
wamp-worker-0.1.0 test/wamp_test/app/handlers/back_ping_handler.rb