Sha256: cc9ed865e1adb8a6ebd0401e59983636ecd4a13d087812582cb5af1e725cc3d3

Contents?: true

Size: 507 Bytes

Versions: 37

Compression:

Stored size: 507 Bytes

Contents

##
## ZMQ Mode
##
#
# Require this file if you wish to run your server and/or client RPC
# with the ZeroMQ handlers.
#
# To run with rpc_server specify the switch `zmq`:
#
#   rpc_server --zmq myapp.rb
#
# To run for client-side only override the require in your Gemfile:
#
#   gem 'protobuf', :require => 'protobuf/zmq'
#
require 'protobuf'
require 'ffi-rzmq'
require 'protobuf/rpc/servers/zmq/server'
require 'protobuf/rpc/connectors/zmq'

Protobuf.connector_type_class = ::Protobuf::Rpc::Connectors::Zmq

Version data entries

37 entries across 37 versions & 3 rubygems

Version Path
protobuf-3.10.9 lib/protobuf/zmq.rb
protobuf-3.10.8 lib/protobuf/zmq.rb
protobuf-3.10.7 lib/protobuf/zmq.rb
protobuf-3.10.6 lib/protobuf/zmq.rb
protobuf-3.10.5 lib/protobuf/zmq.rb
protobuf-3.10.4 lib/protobuf/zmq.rb
protobuf-cucumber-3.10.8 lib/protobuf/zmq.rb
protobuf-cucumber-3.10.7 lib/protobuf/zmq.rb
protobuf-cucumber-3.10.6 lib/protobuf/zmq.rb
protobuf-cucumber-3.10.5 lib/protobuf/zmq.rb
protobuf-cucumber-3.10.4 lib/protobuf/zmq.rb
protobuf-3.10.3 lib/protobuf/zmq.rb
protobuf-3.10.2 lib/protobuf/zmq.rb
protobuf-3.10.1 lib/protobuf/zmq.rb
protobuf-3.10.0 lib/protobuf/zmq.rb
protobuf-3.10.0.pre0 lib/protobuf/zmq.rb
protobuf-3.9.0 lib/protobuf/zmq.rb
protobuf-3.9.0.pre2 lib/protobuf/zmq.rb
protobuf-3.9.0.pre lib/protobuf/zmq.rb
protobuf-3.8.5 lib/protobuf/zmq.rb