Parent

Included Modules

Class Index [+]

Quicksearch

MessagePack::RPC::UNIXTransport::BasicSocket

Public Class Methods

new(io) click to toggle source
    # File lib/msgpack/rpc/transport/unix.rb, line 32
32:                 def initialize(io)
33:                         super(io)
34:                         @pac = MessagePack::Unpacker.new
35:                 end

Public Instance Methods

on_read(data) click to toggle source

from Rev::UNIXSocket

    # File lib/msgpack/rpc/transport/unix.rb, line 47
47:                 def on_read(data)
48:                         @pac.feed_each(data) {|obj|
49:                                 on_message(obj)
50:                         }
51:                 end
on_readable() click to toggle source

from Rev::TCPSocket

    # File lib/msgpack/rpc/transport/unix.rb, line 38
38:                 def on_readable
39:                         super
40:                 rescue
41:                         # FIXME send Connection Close message
42:                         # FIXME log
43:                         close
44:                 end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.