Class: RBus::Transport::TCPTransport
- Inherits:
-
AbstractTransport
- Object
- AbstractTransport
- RBus::Transport::TCPTransport
- Defined in:
- lib/rbus/bus/transport.rb
Overview
Represents a connection to a TCP Socket.
Constant Summary
Constants inherited from AbstractTransport
Instance Attribute Summary
Attributes inherited from AbstractTransport
Instance Method Summary collapse
Methods inherited from AbstractTransport
#close, #initialize, #read, #readline, #send, #sendline
Constructor Details
This class inherits a constructor from RBus::Transport::AbstractTransport
Instance Method Details
#create_socket ⇒ Object
82 83 84 |
# File 'lib/rbus/bus/transport.rb', line 82 def create_socket @socket = TCPSocket.new(@connection_info['host'], @connection_info['port']) end |