Proud::IRmiStub Class Referenceabstract

Public Member Functions

virtual RmiID * GetRmiIDList ()=0
 
virtual int GetRmiIDListCount ()=0
 
virtual bool ProcessReceivedMessage (CReceivedMessage &pa, void *hostTag)=0
 
virtual void AfterRmiInvocation (const AfterRmiSummary &summary)
 
virtual void BeforeRmiInvocation (const BeforeRmiSummary &summary)
 
virtual void NotifyCallFromStub (HostID remote, RmiID RMIId, String methodName, String parameters)
 
PROUD_API void ShowUnknownHostIDWarning (HostID remoteHostID)
 

Public Attributes

IRmiHostm_core
 
bool m_internalUse
 
bool m_enableNotifyCallFromStub
 
bool m_enableStubProfiling
 

Detailed Description

Base class of Stub class created by PIDL compiler

Note

  • User must not create this class. Must be realized by PIDL compiler.

Member Function Documentation

virtual void Proud::IRmiStub::AfterRmiInvocation ( const AfterRmiSummary summary)
virtual

Called right after RMI is run

virtual void Proud::IRmiStub::BeforeRmiInvocation ( const BeforeRmiSummary summary)
virtual

Called right after RMI is run

virtual RmiID* Proud::IRmiStub::GetRmiIDList ( )
pure virtual

DO NOT realize this function. The outcome of PIDL compiler will override.

virtual int Proud::IRmiStub::GetRmiIDListCount ( )
pure virtual

DO NOT realize this function. The outcome of PIDL compiler will override.

virtual void Proud::IRmiStub::NotifyCallFromStub ( HostID  remote,
RmiID  RMIId,
String  methodName,
String  parameters 
)
virtual

If user override this function then it lets parameter received from RMI be displayed as text string. But in return, process speed will be lowered significantly so be careful when you use this.

virtual bool Proud::IRmiStub::ProcessReceivedMessage ( CReceivedMessage pa,
void *  hostTag 
)
pure virtual

DO NOT realize this function. The outcome of PIDL compiler will override.

Member Data Documentation

bool Proud::IRmiStub::m_enableNotifyCallFromStub

If set as true then calls NotifyCallFromStub. But in return, process speed will be lowered significantly. It is recommended to use this when debugging.

bool Proud::IRmiStub::m_enableStubProfiling

If set as true then BeforeRmiInvocation and AfterRmiInvocation are called back. But in return, process speed will be lowered a little. It is recommended to use this when checking running time of RMI function of each type.