Class: Baykit::BayServer::Common::ReadOnlyShip
- Inherits:
-
Ships::Ship
- Object
- Ships::Ship
- Baykit::BayServer::Common::ReadOnlyShip
- Includes:
- Baykit::BayServer
- Defined in:
- lib/baykit/bayserver/common/read_only_ship.rb
Direct Known Subclasses
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
- #notify_connect ⇒ Object
-
#notify_handshake_done(proto) ⇒ Object
Implements Ship.
- #notify_protocol_error(e) ⇒ Object
-
#reset ⇒ Object
Implements Reusable.
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_connect ⇒ Object
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
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
33 34 35 |
# File 'lib/baykit/bayserver/common/read_only_ship.rb', line 33 def notify_protocol_error(e) raise Sink.new end |
#reset ⇒ Object
Implements Reusable
16 17 18 |
# File 'lib/baykit/bayserver/common/read_only_ship.rb', line 16 def reset super end |