Sha256: d3dbc10c8d18047ac90fbb38d6ccb225932a1172d2c496dbbf41fdeb61f1b1a3

Contents?: true

Size: 910 Bytes

Versions: 8

Compression:

Stored size: 910 Bytes

Contents

module RubySMB
  module SMB1
    module Packet

      # This class represents an SMB1 LOGOFF Response Packet as defined in
      # [2.2.4.54.2 Response](https://msdn.microsoft.com/en-us/library/ee441488.aspx)
      class LogoffResponse < RubySMB::GenericPacket

        # The Parameter Block for this packet is empty save the Word Count and ANDX Block
        class ParameterBlock < RubySMB::SMB1::ParameterBlock
          and_x_block :andx_block
        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_LOGOFF
          smb_header.flags.reply = 1
        end

      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby_smb-0.0.18 lib/ruby_smb/smb1/packet/logoff_response.rb
ruby_smb-0.0.17 lib/ruby_smb/smb1/packet/logoff_response.rb
ruby_smb-0.0.16 lib/ruby_smb/smb1/packet/logoff_response.rb
ruby_smb-0.0.15 lib/ruby_smb/smb1/packet/logoff_response.rb
ruby_smb-0.0.14 lib/ruby_smb/smb1/packet/logoff_response.rb
ruby_smb-0.0.13 lib/ruby_smb/smb1/packet/logoff_response.rb
ruby_smb-0.0.12 lib/ruby_smb/smb1/packet/logoff_response.rb
ruby_smb-0.0.11 lib/ruby_smb/smb1/packet/logoff_response.rb