Class: RubySMB::SMB1::Packet::CloseRequest

Inherits:
GenericPacket
  • Object
show all
Defined in:
lib/ruby_smb/smb1/packet/close_request.rb

Overview

A SMB1 SMB_COM_CLOSE Request Packet as defined in 2.2.4.5.1 Request

Defined Under Namespace

Classes: DataBlock, ParameterBlock

Instance Method Summary collapse

Methods inherited from GenericPacket

describe, #display, fields_hashed, format_field, #packet_smb_version, read, #status_code, walk_fields

Instance Method Details

#initialize_instanceObject



23
24
25
26
# File 'lib/ruby_smb/smb1/packet/close_request.rb', line 23

def initialize_instance
  super
  smb_header.command = RubySMB::SMB1::Commands::SMB_COM_CLOSE
end