class ZMQ::Socket
- ZMQ::Socket
- Reference
- Object
Included Modules
- IO::Evented
Defined in:
zeromq/socket.crConstructors
- .create(context : Context, type : Int32, message_type = Message) : self
- .new(context : Context, type : Int32, message_type : ::ZMQ::Message.class = Message)
Class Method Summary
Instance Method Summary
- #address : Pointer(Void)
- #bind(address)
- #close
- #closed? : Bool
- #connect(address)
- #disconnect(address)
- #dontwait?(flags)
-
#events
event list
-
#fd
file descriptor
- #finalize
- #get_socket_option(name)
- #identity
- #identity=(value)
- #more_parts?
- #name : String
- #receive_message(flags = 0) : AbstractMessage
- #receive_messages(flags = 0)
- #receive_string(flags = 0)
- #receive_strings(flags = 0)
- #send_message(message : AbstractMessage, flags = 0)
- #send_messages(messages : Array(AbstractMessage), flags = 0)
- #send_string(string, flags = 0)
- #send_strings(strings : Array(String), flags = 0)
- #set_socket_option(name, value)
- #socket : Pointer(Void)
- #unbind(address)