Class: RubySMB::SMB2::Packet::LogoffResponse

Inherits:
GenericPacket
  • Object
show all
Defined in:
lib/ruby_smb/smb2/packet/logoff_response.rb

Overview

An SMB2 LOGOFF Response Packet as defined in 2.2.8 SMB2 LOGOFF Response

Constant Summary collapse

COMMAND =
RubySMB::SMB2::Commands::LOGOFF

Instance Method Summary collapse

Methods inherited from GenericPacket

describe, #display, fields_hashed, format_field, from_hex, #packet_smb_version, read, #status_code, #valid?, walk_fields

Instance Method Details

#initialize_instanceObject



14
15
16
17
# File 'lib/ruby_smb/smb2/packet/logoff_response.rb', line 14

def initialize_instance
  super
  smb2_header.flags.reply = 1
end