Sha256: b99896f7c728d3f72e8dd3ea275ab3a68006cca9596a385627c6af0fe79a25b3

Contents?: true

Size: 613 Bytes

Versions: 10

Compression:

Stored size: 613 Bytes

Contents

module RubySMB
  module SMB2
    module Packet
      # An SMB2 TreeDisconnectResponse Packet as defined in
      # [2.2.12 SMB2 TREE_DISCONNECT Response](https://msdn.microsoft.com/en-us/library/cc246501.aspx)
      class TreeDisconnectResponse < RubySMB::GenericPacket
        endian       :little
        smb2_header  :smb2_header
        uint16       :structure_size, label: 'Structure Size', initial_value: 4

        def initialize_instance
          super
          smb2_header.command = RubySMB::SMB2::Commands::TREE_DISCONNECT
          smb2_header.flags.reply = 1
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby_smb-1.0.3 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-1.0.2 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-1.0.1 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-1.0.0 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.24 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.23 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.22 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.21 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.20 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.19 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb