Class: RubySMB::Dcerpc::AlterContextResp

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/ruby_smb/dcerpc/alter_context_resp.rb

Overview

The Alter context resp PDU as defined in The alter_context_resp PDU

Constant Summary collapse

PTYPE =
PTypes::ALTER_CONTEXT_RESP
ACCEPTANCE =

Presentation context negotiation results

0
USER_REJECTION =
1
PROVIDER_REJECTION =
2
REASON_NOT_SPECIFIED =

Reasons for rejection of a context element

0
ABSTRACT_SYNTAX_NOT_SUPPORTED =
1
PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED =
2
LOCAL_LIMIT_EXCEEDED =
3

Instance Method Summary collapse

Instance Method Details

#initialize_instanceObject



36
37
38
39
# File 'lib/ruby_smb/dcerpc/alter_context_resp.rb', line 36

def initialize_instance
  super
  pdu_header.ptype = PTYPE
end