Sha256: f82b3a825ad943a70927b3b9b09c6ffd61cf0826ab1ef5a3fc0f2136f4038704

Contents?: true

Size: 517 Bytes

Versions: 5

Compression:

Stored size: 517 Bytes

Contents

module Reel
  class Server
    class UNIX < Server

      # Create a new Reel HTTPS server
      #
      # @option options [String] socket path to bind to
      # @option options [Fixnum] backlog of requests to accept
      #
      # @return [Reel::Server::UNIX] Reel UNIX server actor
      def initialize(socket_path, options={}, &callback)
        server = Celluloid::IO::UNIXServer.new(socket_path)
        options[:socket_path] = socket_path
        super(server, options, &callback)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
reel-0.6.0.pre5 lib/reel/server/unix.rb
reel-0.6.0.pre4 lib/reel/server/unix.rb
reel-0.6.0.pre3 lib/reel/server/unix.rb
reel-0.6.0.pre2 lib/reel/server/unix.rb
reel-0.6.0.pre1 lib/reel/server/unix.rb