Parent

Class Index [+]

Quicksearch

MessagePack::RPC::UDPClientTransport::ClientSocket

Public Class Methods

new(io, session) click to toggle source
    # File lib/msgpack/rpc/transport/udp.rb, line 95
95:                 def initialize(io, session)
96:                         super(io)
97:                         @s = session
98:                 end

Public Instance Methods

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

MessageReceiver interface

     # File lib/msgpack/rpc/transport/udp.rb, line 111
111:                 def on_notify(method, param, addr)
112:                         raise Error.new("notify message on client session")
113:                 end
on_request(msgid, method, param, addr) click to toggle source

MessageReceiver interface

     # File lib/msgpack/rpc/transport/udp.rb, line 106
106:                 def on_request(msgid, method, param, addr)
107:                         raise Error.new("request message on client session")
108:                 end
on_response(msgid, error, result, addr) click to toggle source

MessageReceiver interface

     # File lib/msgpack/rpc/transport/udp.rb, line 116
116:                 def on_response(msgid, error, result, addr)
117:                         @s.on_response(self, msgid, error, result)
118:                 end
send_data(data) click to toggle source

MessageSendable interface

     # File lib/msgpack/rpc/transport/udp.rb, line 101
101:                 def send_data(data)
102:                         @io.send(data, 0)
103:                 end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.