Parent

Files

ZMQ::DefaultHandler

Public Instance Methods

on_readable() click to toggle source

A default / blanket pollitem callback handler for when a socket or IO is registered on a ZMQ::Loop instance.

XXX: Likely a massive fail for some socket / IO pairs as a default - look into removing this.

# File lib/zmq/default_handler.rb, line 8
def on_readable
  p recv
end
on_writable() click to toggle source
# File lib/zmq/default_handler.rb, line 12
def on_writable
  send("")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.