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

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

  attach_ffi_delegate(Zsock.new_pub(endpoints))
end