Class: RubySMB::SMB2::Packet::ReadResponse

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

Overview

An SMB2 Read Response Packet as defined in 2.2.20 SMB2 READ Response

Constant Summary collapse

COMMAND =
RubySMB::SMB2::Commands::READ

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



20
21
22
23
# File 'lib/ruby_smb/smb2/packet/read_response.rb', line 20

def initialize_instance
  super
  smb2_header.flags.reply = 1
end