class CZTop::Socket::PUB

Publish 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 bind to

# File lib/cztop/socket/types.rb, line 123
def initialize(endpoints = nil)
  attach_ffi_delegate(Zsock.new_pub(endpoints))
end