Sha256: a6f669b71fca799c0fe2cf13112768bb7cd5c6830ad09e9cee94d2af34862e2e

Contents?: true

Size: 959 Bytes

Versions: 10

Compression:

Stored size: 959 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
        # 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.command = RubySMB::SMB1::Commands::SMB_COM_TREE_DISCONNECT
          smb_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/smb1/packet/tree_disconnect_response.rb
ruby_smb-1.0.2 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-1.0.1 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-1.0.0 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-0.0.24 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-0.0.23 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-0.0.22 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-0.0.21 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-0.0.20 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb
ruby_smb-0.0.19 lib/ruby_smb/smb1/packet/tree_disconnect_response.rb