Class: Proxy::RemoteExecution::Cockpit::StandardBufferedSocket
- Inherits:
-
BufferedSocket
- Object
- BufferedSocket
- Proxy::RemoteExecution::Cockpit::StandardBufferedSocket
- Defined in:
- lib/smart_proxy_remote_execution_ssh/cockpit.rb
Class Method Summary collapse
Methods inherited from BufferedSocket
build, #initialize, #recv, #send
Methods included from NetSSHCompat::BufferedIO
#available, #enqueue, #fill, #pending_writes?, #read_available, #send_pending, #wait_for_pending_sends
Constructor Details
This class inherits a constructor from Proxy::RemoteExecution::Cockpit::BufferedSocket
Class Method Details
.applies_for?(socket) ⇒ Boolean
45 46 47 |
# File 'lib/smart_proxy_remote_execution_ssh/cockpit.rb', line 45 def self.applies_for?(socket) socket.respond_to?(:send) && socket.respond_to?(:recv) end |