Class: RubySMB::SMB1::Packet::ReadAndxRequest::ParameterBlock

Inherits:
RubySMB::SMB1::ParameterBlock show all
Defined in:
lib/ruby_smb/smb1/packet/read_andx_request.rb

Overview

A SMB1 Parameter Block as defined by the RubySMB::SMB1::Packet::ReadAndxRequest

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RubySMB::SMB1::ParameterBlock

calculate_word_count, parameter_fields

Instance Attribute Details

#read_from_named_pipeTrueClass, FalseClass

Specifies if the file to read is a named pipe or a regular file.

Returns:

  • (TrueClass, FalseClass)

    true if reading from a named pipe, false otherwise



35
36
37
# File 'lib/ruby_smb/smb1/packet/read_andx_request.rb', line 35

def read_from_named_pipe
  @read_from_named_pipe
end

Instance Method Details

#initialize_instanceObject



37
38
39
40
# File 'lib/ruby_smb/smb1/packet/read_andx_request.rb', line 37

def initialize_instance
  super
  @read_from_named_pipe = false
end