Class: RubySMB::SMB2::Packet::CreateResponse

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

Overview

An SMB2 Create Response Packet as defined in 2.2.14 SMB2 CREATE Response

Constant Summary collapse

COMMAND =
RubySMB::SMB2::Commands::CREATE

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



35
36
37
38
# File 'lib/ruby_smb/smb2/packet/create_response.rb', line 35

def initialize_instance
  super
  smb2_header.flags.reply = 1
end