class TurboRex::MSRPC::RPCBase::MIDL_SERVER_INFO_Klass

Public Instance Methods

DispatchTable() click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 655
def DispatchTable
  @dispatch_table_link_to || @value_table[:DispatchTable]
end
pStubDesc() click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 659
def pStubDesc
  @stub_desc_link_to || @value_table[:pStubDesc]
end
pSyntaxInfo() click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 663
def pSyntaxInfo
  @syntax_info_link_to || @value_table[:pSyntaxInfo]
end
parse_struct(cstruct) click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 629
def parse_struct(cstruct)
  @value_table = {
    pStubDesc: cstruct['pStubDesc'].value,
    DispatchTable: cstruct['dispatchTable'].value,
    ProcString: cstruct['procString'].value,
    ProcFormatString: cstruct['procString'].value, # alias of ProcString
    FmtStringOffset: cstruct['fmtStringOffset'].value,
    FormatStringOffset: cstruct['fmtStringOffset'].value, # alias of FmtStringOffset
    ThunkTable: cstruct['thunkTable'].value,
    pTransferSyntax: cstruct['pTransferSyntax'].value,
    nCount: cstruct['nCount'].value,
    pSyntaxInfo: cstruct['pSyntaxInfo'].value
  }

  @dispatch_table_link_to = nil
  @syntax_info_link_to = nil
  @transfer_syntax_link_to = nil
  @stub_desc_link_to = nil

  true
end
server_routines() click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 651
def server_routines
  self.DispatchTable rescue nil
end