Sha256: be30be3d2ee87f3052a8875e91680f8eae1cfde94f14da443ada63a241973981

Contents?: true

Size: 406 Bytes

Versions: 8

Compression:

Stored size: 406 Bytes

Contents

require_relative '../../lib/kymera'

zmq = Kymera::SZMQ.new
#
pub_socket = zmq.socket('tcp://127.0.0.1:7000', 'pub')
pub_socket.connect
pub_socket.publish_message('results', 'these are results')

#context = ZMQ::Context.new
#socket = context.socket(ZMQ::PUB)
#socket.connect('tcp://127.0.0.1:7000')
#sleep 5
#socket.send_string('results', ZMQ::SNDMORE)
#socket.send_string('these are some more results')


Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kymera-0.1.7 lib/spec/send_bus_data.rb
kymera-0.1.6 lib/spec/send_bus_data.rb
kymera-0.1.5 lib/spec/send_bus_data.rb
kymera-0.1.4 lib/spec/send_bus_data.rb
kymera-0.1.3 lib/spec/send_bus_data.rb
kymera-0.1.2 lib/spec/send_bus_data.rb
kymera-0.1.1 lib/spec/send_bus_data.rb
kymera-0.1.0 lib/spec/send_bus_data.rb