Class: Baykit::BayServer::Common::ReadOnlyShip

Inherits:
Ships::Ship
  • Object
show all
Includes:
Baykit::BayServer
Defined in:
lib/baykit/bayserver/common/read_only_ship.rb

Direct Known Subclasses

Docker::SendFile::SendFileShip

Constant Summary

Constants inherited from Ships::Ship

Ships::Ship::INVALID_SHIP_ID, Ships::Ship::SHIP_ID_NOCHECK

Instance Attribute Summary

Attributes inherited from Ships::Ship

#agent_id, #initialized, #keeping, #object_id, #rudder, #ship_id, #transporter

Instance Method Summary collapse

Methods inherited from Ships::Ship

#check_ship_id, #check_timeout, #id, #init, #initialize, #notify_close, #notify_eof, #notify_error, #notify_read, #post_close, #resume_read

Constructor Details

This class inherits a constructor from Baykit::BayServer::Ships::Ship

Instance Method Details

#notify_connectObject

Raises:



29
30
31
# File 'lib/baykit/bayserver/common/read_only_ship.rb', line 29

def notify_connect
  raise Sink.new
end

#notify_handshake_done(proto) ⇒ Object

Implements Ship

Raises:



25
26
27
# File 'lib/baykit/bayserver/common/read_only_ship.rb', line 25

def notify_handshake_done(proto)
  raise Sink.new
end

#notify_protocol_error(e) ⇒ Object

Raises:



33
34
35
# File 'lib/baykit/bayserver/common/read_only_ship.rb', line 33

def notify_protocol_error(e)
  raise Sink.new
end

#resetObject

Implements Reusable



16
17
18
# File 'lib/baykit/bayserver/common/read_only_ship.rb', line 16

def reset
  super
end