Class: CarbonMU::CarbonIPCSocket
- Inherits:
-
Object
- Object
- CarbonMU::CarbonIPCSocket
- Includes:
- Celluloid::ZMQ
- Defined in:
- lib/carbonmu/ipc/carbon_ipc_socket.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#zmq_socket ⇒ Object
Returns the value of attribute zmq_socket.
Instance Method Summary collapse
Instance Attribute Details
#zmq_socket ⇒ Object
Returns the value of attribute zmq_socket.
7 8 9 |
# File 'lib/carbonmu/ipc/carbon_ipc_socket.rb', line 7 def zmq_socket @zmq_socket end |
Instance Method Details
#close ⇒ Object
17 18 19 |
# File 'lib/carbonmu/ipc/carbon_ipc_socket.rb', line 17 def close @zmq_socket.close if @zmq_socket end |
#read ⇒ Object
9 10 11 |
# File 'lib/carbonmu/ipc/carbon_ipc_socket.rb', line 9 def read raise NotImplementedError end |
#send(message) ⇒ Object
13 14 15 |
# File 'lib/carbonmu/ipc/carbon_ipc_socket.rb', line 13 def send() raise NotImplementedError end |