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



269
270
271
272
273
274
275
276
# File 'lib/mycel.rb', line 269

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