Sha256: e004b120e5f99b94ec6ae8ce44cdd8dd0b2d5aaa3a73436d2f5d723ec0dfc62f
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
require 'aggro/nanomsg_transport/connection' module Aggro module NanomsgTransport # Private: Wrapper for a nanomsg REQ node. class Request < Connection def allocate_socket @socket = NNCore::LibNanomsg.nn_socket(NNCore::AF_SP, NNCore::NN_REQ) assert @socket end def set_endpoint assert NNCore::LibNanomsg.nn_connect(@socket, @endpoint) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aggro-0.0.3 | lib/aggro/nanomsg_transport/request.rb |
aggro-0.0.2 | lib/aggro/nanomsg_transport/request.rb |