Sha256: 17ee9d1d2c24e610b95a32edc8fbc2115434b43774bd072903b8963ad3a105c6

Contents?: true

Size: 179 Bytes

Versions: 2

Compression:

Stored size: 179 Bytes

Contents

class PingHandler
  include Wamp::Worker::Handler

  subscribe "com.example.ping", :ping

  def ping
    self.session.publish "com.example.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/ping_handler.rb
wamp-worker-0.1.0 test/wamp_test/app/handlers/ping_handler.rb