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
link_to(struct)
click to toggle source
# File lib/turborex/msrpc/rpcbase.rb, line 667 def link_to(struct) case struct when Array @dispatch_table_link_to = struct when MIDL_STUB_DESC_Klass link_and_xref :stub_desc_link_to, struct when MIDL_SYNTAX_INFO_Klass, Array link_and_xref :syntax_info_link_to, struct end 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