Sha256: b5dd147b18af93dcd8f896a57cfbd2b553d2eb08b4e89ba963c4e3aed7b5c5dc

Contents?: true

Size: 501 Bytes

Versions: 37

Compression:

Stored size: 501 Bytes

Contents

class SocketConnectionHandlerStub
  def self.dispatcher=(val)
    @@dispatcher = val
  end

  def self.dispatcher
    @@dispatcher
  end

  def initialize(channel_stub)
    @channel_stub = channel_stub
  end

  # Sends a message to all, optionally skipping a users channel
  def self.send_message_all(skip_channel=nil, *args)
    # Stub
  end

  def process_message(message)
    @@dispatcher.dispatch(self, message)
  end

  def send_message(*args)
    @channel_stub.message_received(*args)
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
volt-0.8.14 lib/volt/server/socket_connection_handler_stub.rb
volt-0.8.13 lib/volt/server/socket_connection_handler_stub.rb
volt-0.8.11 lib/volt/server/socket_connection_handler_stub.rb
volt-0.8.10 lib/volt/server/socket_connection_handler_stub.rb
volt-0.8.9 lib/volt/server/socket_connection_handler_stub.rb
volt-0.8.8 lib/volt/server/socket_connection_handler_stub.rb
volt-0.8.7 lib/volt/server/socket_connection_handler_stub.rb
volt-0.8.6 lib/volt/server/socket_connection_handler_stub.rb
volt-0.8.5 lib/volt/server/socket_connection_handler_stub.rb
volt-0.8.4 lib/volt/server/socket_connection_handler_stub.rb
volt-0.8.3 lib/volt/server/socket_connection_handler_stub.rb
volt-0.8.2 lib/volt/server/socket_connection_handler_stub.rb
volt-0.8.1 lib/volt/server/socket_connection_handler_stub.rb
volt-0.8.0 lib/volt/server/socket_connection_handler_stub.rb
volt-0.7.23 lib/volt/server/socket_connection_handler_stub.rb
volt-0.7.22 lib/volt/server/socket_connection_handler_stub.rb
volt-0.7.21 lib/volt/server/socket_connection_handler_stub.rb
volt-0.7.20 lib/volt/server/socket_connection_handler_stub.rb
volt-0.7.19 lib/volt/server/socket_connection_handler_stub.rb
volt-0.7.18 lib/volt/server/socket_connection_handler_stub.rb