Parent

Class Index [+]

Quicksearch

MessagePack::RPC::UDPServerTransport::ServerSocket

Public Class Methods

new(io, server) click to toggle source
     # File lib/msgpack/rpc/transport/udp.rb, line 160
160:                 def initialize(io, server)
161:                         super(io)
162:                         @server = server
163:                 end

Public Instance Methods

on_notify(method, param, addr) click to toggle source

MessageReceiver interface

     # File lib/msgpack/rpc/transport/udp.rb, line 172
172:                 def on_notify(method, param, addr)
173:                         @server.on_notify(method, param)
174:                 end
on_request(msgid, method, param, addr) click to toggle source

MessageReceiver interface

     # File lib/msgpack/rpc/transport/udp.rb, line 166
166:                 def on_request(msgid, method, param, addr)
167:                         sender = ResponseSender.new(@io, addr[3], addr[1])
168:                         @server.on_request(sender, msgid, method, param)
169:                 end
on_response(msgid, error, result, addr) click to toggle source

MessageReceiver interface

     # File lib/msgpack/rpc/transport/udp.rb, line 177
177:                 def on_response(msgid, error, result, addr)
178:                         raise Error.new("response message on server session")
179:                 end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.