Sha256: b69f71a3f34b3997e117359a68fb7395b7177ce9cc5b3babdea0abf80091f907

Contents?: true

Size: 845 Bytes

Versions: 10

Compression:

Stored size: 845 Bytes

Contents

module RubySMB
  module SMB1
    module Packet

      # This class represents an SMB1 TreeDisonnect Request Packet as defined in
      # [2.2.4.51.1 Request](https://msdn.microsoft.com/en-us/library/ee441622.aspx)
      class TreeDisconnectRequest < RubySMB::GenericPacket

        # The Parameter Block for this packet is empty save the Word Count
        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
        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/smb1/packet/tree_disconnect_request.rb
ruby_smb-0.0.17 lib/ruby_smb/smb1/packet/tree_disconnect_request.rb
ruby_smb-0.0.16 lib/ruby_smb/smb1/packet/tree_disconnect_request.rb
ruby_smb-0.0.15 lib/ruby_smb/smb1/packet/tree_disconnect_request.rb
ruby_smb-0.0.14 lib/ruby_smb/smb1/packet/tree_disconnect_request.rb
ruby_smb-0.0.13 lib/ruby_smb/smb1/packet/tree_disconnect_request.rb
ruby_smb-0.0.12 lib/ruby_smb/smb1/packet/tree_disconnect_request.rb
ruby_smb-0.0.11 lib/ruby_smb/smb1/packet/tree_disconnect_request.rb
ruby_smb-0.0.10 lib/ruby_smb/smb1/packet/tree_disconnect_request.rb
ruby_smb-0.0.9 lib/ruby_smb/smb1/packet/tree_disconnect_request.rb