Skip to content

Commit

Permalink
Changing back to a class-based namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
cmelbye committed Nov 2, 2009
1 parent 7d14e3a commit 161e9cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/proxymachine.rb
Expand Up @@ -8,7 +8,7 @@

LOGGER = Logger.new(STDOUT)

module ProxyMachine
class ProxyMachine
MAX_FAST_SHUTDOWN_SECONDS = 10

def self.update_procline
Expand Down
2 changes: 1 addition & 1 deletion lib/proxymachine/client_connection.rb
@@ -1,4 +1,4 @@
module ProxyMachine
class ProxyMachine
class ClientConnection < EventMachine::Connection
def self.start(host, port)
$server = EM.start_server(host, port, self)
Expand Down
2 changes: 1 addition & 1 deletion lib/proxymachine/server_connection.rb
@@ -1,4 +1,4 @@
module ProxyMachine
class ProxyMachine
class ServerConnection < EventMachine::Connection
def self.request(host, port, client_side)
EventMachine.connect(host, port, self, client_side)
Expand Down

0 comments on commit 161e9cf

Please sign in to comment.