Module: Mycel::Transport::Mixin::Async::Server

Included in:
AsyncAutoServant, AsyncAutoServer, AsyncServant, AsyncServer
Defined in:
lib/mycel.rb

Instance Method Summary collapse

Instance Method Details

#connect_thisObject



305
306
307
308
309
310
311
312
# File 'lib/mycel.rb', line 305

def connect_this
  sk = @server.accept
  Thread.new {
    callback(:connect_this, sk)
    callback(:connect, sk)
  }
  sk
end