Files

ZMQ::DownstreamSocket

Public Class Methods

included(sock) click to toggle source

An interface for sockets that can only receive (read) data

Behavior

Disabled methods

ZMQ::Socket#bind, ZMQ::Socket#send, ZMQ::Socket#sendm, ZMQ::Socket#send_frame, ZMQ::Socket#send_message

Socket types

ZMQ::Socket::Pull, ZMQ::Socket::Sub

# File lib/zmq/socket.rb, line 87
def self.included(sock)
  sock.unsupported_api :send, :sendm, :send_frame, :send_message
end

Public Instance Methods

poll_writable?() click to toggle source

Upstream sockets should never be polled for writable states

# File lib/zmq/socket.rb, line 92
def poll_writable?
  false
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.