Sha256: 3469c140aa44e59880be3309f44c9c3a0a8222e1a2c62d15e2f2ff456cedb721

Contents?: true

Size: 947 Bytes

Versions: 53

Compression:

Stored size: 947 Bytes

Contents

module RubySMB
  module SMB1
    module Packet
      # This class represents an SMB1 TreeDisonnect Response Packet as defined in
      # [2.2.4.51.2 Response](https://msdn.microsoft.com/en-us/library/ee441823.aspx)
      class TreeDisconnectResponse < RubySMB::GenericPacket
        COMMAND = RubySMB::SMB1::Commands::SMB_COM_TREE_DISCONNECT

        # The Parameter Block for this packet is empty save the Word Count
        # The {RubySMB::SMB1::ParameterBlock} specific to this packet type.
        class ParameterBlock < RubySMB::SMB1::ParameterBlock
        end

        # The Data Block for this packet is empty save the Byte Count
        class DataBlock < RubySMB::SMB1::DataBlock
        end

        smb_header        :smb_header
        parameter_block   :parameter_block
        data_block        :data_block

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

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
ruby_smb-3.3.12 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.3.11 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.3.10 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.3.9 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.3.7 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.3.6 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.3.5 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.3.4 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.3.3 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.3.2 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.3.1 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.3.0 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.2.8 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.2.7 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.2.6 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.2.5 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.2.4 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.2.3 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.2.2 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-3.2.1 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb