Class: Miu::XSubSocket

Inherits:
SubSocket show all
Defined in:
lib/miu/sockets.rb

Instance Attribute Summary

Attributes inherited from Socket

#linger, #socket

Instance Method Summary collapse

Methods included from ReadableSocket

#bind, #connect, #read

Methods inherited from Socket

#bind, build_address, #close, #connect, inherited, #initialize, socket_type, #socket_type, #to_io

Constructor Details

This class inherits a constructor from Miu::Socket

Instance Method Details

#subscribe(topic) ⇒ Object



172
173
174
# File 'lib/miu/sockets.rb', line 172

def subscribe(topic)
  true
end

#unsubscribe(topic) ⇒ Object



176
177
178
# File 'lib/miu/sockets.rb', line 176

def unsubscribe(topic)
  true
end