class ZMQ::Socket

Included Modules

Defined in:

zeromq/socket.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.create(context : Context, type : Int32, message_type = Message) : self #

[View source]
def self.new(context : Context, type : Int32, message_type : ::ZMQ::Message.class = Message) #

[View source]

Class Method Detail

def self.create(context : Context, type : Int32, message_type = Message, &) #

[View source]

Instance Method Detail

def address : Pointer(Void) #

[View source]
def bind(address) #

[View source]
def close #

[View source]
def closed? : Bool #

[View source]
def connect(address) #

[View source]
def disconnect(address) #

[View source]
def dontwait?(flags) #

[View source]
def events #

event list


[View source]
def fd #

file descriptor


[View source]
def finalize #

[View source]
def get_socket_option(name) #

[View source]
def identity #

[View source]
def identity=(value) #

[View source]
def more_parts? #

[View source]
def name : String #

[View source]
def receive_message(flags = 0) : AbstractMessage #

[View source]
def receive_messages(flags = 0) #

[View source]
def receive_string(flags = 0) #

[View source]
def receive_strings(flags = 0) #

[View source]
def send_message(message : AbstractMessage, flags = 0) #

[View source]
def send_messages(messages : Array(AbstractMessage), flags = 0) #

[View source]
def send_string(string, flags = 0) #

[View source]
def send_strings(strings : Array(String), flags = 0) #

[View source]
def set_socket_option(name, value) #

[View source]
def socket : Pointer(Void) #

[View source]
def unbind(address) #

[View source]