class CZTop::Socket::XSUB

Extended subscribe socket for the ZeroMQ Publish-Subscribe Pattern. @see rfc.zeromq.org/spec:29

Public Class Methods

new(endpoints = nil) click to toggle source

@param endpoints [String] endpoints to connect to

Calls superclass method CZTop::Socket::new
# File lib/cztop/socket/types.rb, line 230
def initialize(endpoints = nil)
  super

  attach_ffi_delegate(Zsock.new_xsub(endpoints))
end