Sha256: 9c21e3b60346d54edb3d3c2af7e135e24a7477c1996159d03b50d5c260757fa4

Contents?: true

Size: 426 Bytes

Versions: 27

Compression:

Stored size: 426 Bytes

Contents

# encoding: UTF-8

module Vines
  class Stream
    class Server
      class FinalRestart < State
        def initialize(stream, success=Ready)
          super
        end

        def node(node)
          raise StreamErrors::NotAuthorized unless stream?(node)
          stream.start(node)
          stream.write('<stream:features/>')
          stream.router << stream
          advance
        end
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 4 rubygems

Version Path
diaspora-vines-0.2.0.develop.4 lib/vines/stream/server/final_restart.rb
diaspora-vines-0.2.0.develop.3 lib/vines/stream/server/final_restart.rb
diaspora-vines-0.2.0.develop.2 lib/vines/stream/server/final_restart.rb
diaspora-vines-0.2.0.develop.1 lib/vines/stream/server/final_restart.rb
diaspora-vines-0.1.28 lib/vines/stream/server/final_restart.rb
lygneo-vines-0.1.5 lib/vines/stream/server/final_restart.rb
lygneo-vines-0.1.1 lib/vines/stream/server/final_restart.rb
diaspora-vines-0.1.27 lib/vines/stream/server/final_restart.rb
diaspora-vines-0.1.26 lib/vines/stream/server/final_restart.rb
diaspora-vines-0.1.25 lib/vines/stream/server/final_restart.rb
diaspora-vines-0.1.24 lib/vines/stream/server/final_restart.rb
vines-0.4.10 lib/vines/stream/server/final_restart.rb
diaspora-vines-0.1.22 lib/vines/stream/server/final_restart.rb
diaspora-vines-0.1.21 lib/vines/stream/server/final_restart.rb
diaspora-vines-0.1.2 lib/vines/stream/server/final_restart.rb
vines-0.4.9 lib/vines/stream/server/final_restart.rb
vines-0.4.8 lib/vines/stream/server/final_restart.rb
vines-0.4.7 lib/vines/stream/server/final_restart.rb
vines-0.4.6 lib/vines/stream/server/final_restart.rb
vinesmod-0.4.5.2 lib/vines/stream/server/final_restart.rb