Sha256: 0c89bb6db031dc543c74fd157e14529801ba273ae1c45930f9d9bca07c24108f

Contents?: true

Size: 615 Bytes

Versions: 10

Compression:

Stored size: 615 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-0.0.18 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.17 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.16 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.15 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.14 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.13 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.12 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.11 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.10 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb
ruby_smb-0.0.9 lib/ruby_smb/smb2/packet/tree_disconnect_response.rb