Sha256: 28ec2593ca2cdd3acb2254cd424466cd5d2f3cd8bbd4a377b5539c94c2884a9f

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 Bytes

Contents

# Register all of the handlers you wish to use
# when the clien connects.
Marvin::Loader.before_connecting do
  
  # E.G.
  # MyHandler.register! (Marvin::Base subclass) or
  # Marvin::Settings.default_client.register_handler my_handler (a handler instance)
  
  # Example Handler use.
  # LoggingHandler.register! if Marvin::Settings.use_logging
  
  if Marvin::Loader.type == :client
    Marvin::Distributed::DispatchHandler.register!
  else
    HelloWorld.register!
    DebugHandler.register!
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jeffrafter-marvin-0.1.20081120 config/setup.rb