class RubySMB::Dcerpc::Ndr::NdrContextHandle
An NDR Context Handle representation as defined in [IDL Data Type Declarations - Basic Type Declarations](pubs.opengroup.org/onlinepubs/9629399/apdxn.htm#tagcjh_34_01)
Public Instance Methods
get()
click to toggle source
# File lib/ruby_smb/dcerpc/ndr.rb, line 200 def get {:context_handle_attributes => context_handle_attributes, :context_handle_uuid => context_handle_uuid} end
set(handle)
click to toggle source
# File lib/ruby_smb/dcerpc/ndr.rb, line 204 def set(handle) if handle.is_a?(Hash) self.context_handle_attributes = handle[:context_handle_attributes] self.context_handle_uuid = handle[:context_handle_uuid] elsif handle.is_a?(NdrContextHandle) read(handle.to_binary_s) else read(handle.to_s) end end