Parent

Class Index [+]

Quicksearch

MessagePack::RPC::UNIXClientTransport::ClientSocket

Public Class Methods

new(io, session) click to toggle source
    # File lib/msgpack/rpc/transport/unix.rb, line 89
89:                 def initialize(io, session)
90:                         super(io)
91:                         @s = session
92:                 end

Public Instance Methods

on_notify(method, param) click to toggle source

MessageReceiver interface

     # File lib/msgpack/rpc/transport/unix.rb, line 105
105:                 def on_notify(method, param)
106:                         raise Error.new("notify message on client session")
107:                 end
on_request(msgid, method, param) click to toggle source

MessageReceiver interface

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

MessageReceiver interface

     # File lib/msgpack/rpc/transport/unix.rb, line 110
110:                 def on_response(msgid, error, result)
111:                         @s.on_response(self, msgid, error, result)
112:                 end
send_data(data) click to toggle source

MessageSendable interface

    # File lib/msgpack/rpc/transport/unix.rb, line 95
95:                 def send_data(data)
96:                         write data
97:                 end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.