about summary refs log tree commit homepage
path: root/lib/yahns/unix_server.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2013-10-26 04:00:59 +0000
committerEric Wong <e@80x24.org>2013-10-26 04:02:18 +0000
commit1506dcd4741d64538bf6d822413219ddb1ec11c2 (patch)
treef3c54705c1a94e7f0750ccce3ce5fb3c24f095fa /lib/yahns/unix_server.rb
parenta224a0bbb16aeed9a1420c6a770e723cf30a28b3 (diff)
downloadyahns-1506dcd4741d64538bf6d822413219ddb1ec11c2.tar.gz
This should make things a little easier-to-follow and possibly
improve method cache hit rates for servers with multiple acceptors.
Diffstat (limited to 'lib/yahns/unix_server.rb')
-rw-r--r--lib/yahns/unix_server.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/yahns/unix_server.rb b/lib/yahns/unix_server.rb
new file mode 100644
index 0000000..3269db3
--- /dev/null
+++ b/lib/yahns/unix_server.rb
@@ -0,0 +1,7 @@
+# -*- encoding: binary -*-
+# Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> et. al.
+# License: GPLv3 or later (see COPYING for details)
+require_relative 'acceptor'
+class Yahns::UNIXServer < Kgio::UNIXServer
+  include Yahns::Acceptor
+end