class CZTop::Socket::PAIR

Pair socket for inter-thread communication. @see rfc.zeromq.org/spec:31

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 272
def initialize(endpoints = nil)
  super

  attach_ffi_delegate(Zsock.new_pair(endpoints))
end