Sha256: 58a1ef05f3404e7769c8b2908130dcc571a2c93fc55fdb50b3fc62271b685c75

Contents?: true

Size: 1.39 KB

Versions: 6

Compression:

Stored size: 1.39 KB

Contents

module EventMachine
  # This module contains various protocol implementations, including:
  # - HttpClient and HttpClient2
  # - Stomp
  # - Memcache
  # - SmtpClient and SmtpServer
  # - SASLauth and SASLauthclient
  # - LineAndTextProtocol and LineText2
  # - HeaderAndContentProtocol
  # - Postgres3
  # - ObjectProtocol
  #
  # The protocol implementations live in separate files in the protocols/ subdirectory,
  # but are auto-loaded when they are first referenced in your application.
  #
  # EventMachine::Protocols is also aliased to EM::P for easier usage.
  #
  module Protocols
    # TODO : various autotools are completely useless with the lack of naming
    # convention, we need to correct that!
    autoload :TcpConnectTester, 'em/protocols/tcptest'
    autoload :HttpClient, 'em/protocols/httpclient'
    autoload :HttpClient2, 'em/protocols/httpclient2'
    autoload :LineAndTextProtocol, 'em/protocols/line_and_text'
    autoload :HeaderAndContentProtocol, 'em/protocols/header_and_content'
    autoload :LineText2, 'em/protocols/linetext2'
    autoload :Stomp, 'em/protocols/stomp'
    autoload :SmtpClient, 'em/protocols/smtpclient'
    autoload :SmtpServer, 'em/protocols/smtpserver'
    autoload :SASLauth, 'em/protocols/saslauth'
    autoload :Memcache, 'em/protocols/memcache'
    autoload :Postgres3, 'em/protocols/postgres3'
    autoload :ObjectProtocol, 'em/protocols/object_protocol'
  end
end

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
MattHulse-eventmachine-0.0.1 lib/em/protocols.rb
MattHulse-eventmachine-0.12.10 lib/em/protocols.rb
eventmachine-eventmachine-0.12.8 lib/em/protocols.rb
eventmachine-eventmachine-0.12.9 lib/em/protocols.rb
eventmachine-0.12.8-java lib/em/protocols.rb
eventmachine-0.12.8 lib/em/protocols.rb