Parent

Class Index [+]

Quicksearch

MessagePack::RPC::UNIXServerTransport::ServerSocket

Public Class Methods

new(io, server) click to toggle source
     # File lib/msgpack/rpc/transport/unix.rb, line 144
144:                 def initialize(io, server)
145:                         super(io)
146:                         @server = server
147:                 end

Public Instance Methods

on_notify(method, param) click to toggle source

MessageReceiver interface

     # File lib/msgpack/rpc/transport/unix.rb, line 160
160:                 def on_notify(method, param)
161:                         @server.on_notify(method, param)
162:                 end
on_request(msgid, method, param) click to toggle source

MessageReceiver interface

     # File lib/msgpack/rpc/transport/unix.rb, line 155
155:                 def on_request(msgid, method, param)
156:                         @server.on_request(self, msgid, method, param)
157:                 end
on_response(msgid, error, result) click to toggle source

MessageReceiver interface

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

MessageSendable interface

     # File lib/msgpack/rpc/transport/unix.rb, line 150
150:                 def send_data(data)
151:                         write data
152:                 end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.