Class: RubySMB::SMB2::Packet::TreeDisconnectResponse

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

Overview

An SMB2 TreeDisconnectResponse Packet as defined in 2.2.12 SMB2 TREE_DISCONNECT Response

Constant Summary collapse

COMMAND =
RubySMB::SMB2::Commands::TREE_DISCONNECT

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/tree_disconnect_response.rb', line 14

def initialize_instance
  super
  smb2_header.flags.reply = 1
end