Sha256: b7e579682008d11e2a52761d9201d911262222987adf3f2c0a0debf4e5b26c69

Contents?: true

Size: 668 Bytes

Versions: 35

Compression:

Stored size: 668 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
        COMMAND = RubySMB::SMB2::Commands::TREE_DISCONNECT

        endian       :little
        smb2_header  :smb2_header
        uint16       :structure_size, label: 'Structure Size', initial_value: 4
        uint16       :reserved, label: 'Reserved', initial_value: 0

        def initialize_instance
          super
          smb2_header.flags.reply = 1
        end
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
ruby_smb-3.2.0 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.1.7 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.1.6 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.1.5 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.1.4 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.1.3 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.1.2 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.1.1 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.1.0 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.0.6 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.0.5 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.0.4 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.0.3 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.0.2 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-3.0.1 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb