Class: Vines::Stream::Server::Outbound::FinalFeatures
- Inherits:
-
Vines::Stream::State
- Object
- Vines::Stream::State
- Vines::Stream::Server::Outbound::FinalFeatures
- Defined in:
- lib/vines/stream/server/outbound/final_features.rb
Constant Summary
Constants inherited from Vines::Stream::State
Vines::Stream::State::BODY, Vines::Stream::State::STREAM
Instance Attribute Summary
Attributes inherited from Vines::Stream::State
Instance Method Summary collapse
-
#initialize(stream, success = Server::Ready) ⇒ FinalFeatures
constructor
A new instance of FinalFeatures.
- #node(node) ⇒ Object
Methods inherited from Vines::Stream::State
Methods included from Log
Constructor Details
#initialize(stream, success = Server::Ready) ⇒ FinalFeatures
Returns a new instance of FinalFeatures.
8 9 10 |
# File 'lib/vines/stream/server/outbound/final_features.rb', line 8 def initialize(stream, success=Server::Ready) super end |
Instance Method Details
#node(node) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/vines/stream/server/outbound/final_features.rb', line 12 def node(node) raise StreamErrors::NotAuthorized unless empty_features?(node) stream.router << stream advance stream.notify_connected end |