Parent

Class Index [+]

Quicksearch

MessagePack::RPC::TCPServerTransport::ServerSocket

Public Class Methods

new(io, server) click to toggle source
     # File lib/msgpack/rpc/transport/tcp.rb, line 220
220:                 def initialize(io, server)
221:                         super(io)
222:                         @server = server
223:                 end

Public Instance Methods

on_notify(method, param) click to toggle source

MessageReceiver interface

     # File lib/msgpack/rpc/transport/tcp.rb, line 236
236:                 def on_notify(method, param)
237:                         @server.on_notify(method, param)
238:                 end
on_request(msgid, method, param) click to toggle source

MessageReceiver interface

     # File lib/msgpack/rpc/transport/tcp.rb, line 231
231:                 def on_request(msgid, method, param)
232:                         @server.on_request(self, msgid, method, param)
233:                 end
on_response(msgid, error, result) click to toggle source

MessageReceiver interface

     # File lib/msgpack/rpc/transport/tcp.rb, line 241
241:                 def on_response(msgid, error, result)
242:                         raise Error.new("response message on server session")
243:                 end
send_data(data) click to toggle source

MessageSendable interface

     # File lib/msgpack/rpc/transport/tcp.rb, line 226
226:                 def send_data(data)
227:                         write data
228:                 end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.