Class: Del::SocketServer
- Inherits:
-
Object
- Object
- Del::SocketServer
- Defined in:
- lib/del/socket_server.rb
Overview
A Socket server for client/server communication overs a UNIX socket.
Instance Method Summary collapse
-
#initialize(socket_file:) ⇒ SocketServer
constructor
A new instance of SocketServer.
- #run(robot) ⇒ Object
Constructor Details
#initialize(socket_file:) ⇒ SocketServer
Returns a new instance of SocketServer.
7 8 9 |
# File 'lib/del/socket_server.rb', line 7 def initialize(socket_file:) @connection = SocketConnection.new(path: socket_file) end |