Proud::IRmiProxy Class Referenceabstract

Public Member Functions

virtual RmiID * GetRmiIDList ()=0
 
virtual int GetRmiIDListCount ()=0
 
virtual PROUD_API void NotifySendByProxy (const HostID *remotes, int remoteCount, const MessageSummary &summary, RmiContext &rmiContext, const CMessage &msg)
 
virtual PROUD_API bool RmiSend (const HostID *remotes, int remoteCount, RmiContext &rmiContext, const CMessage &msg, const PNTCHAR *RMIName, RmiID RMIId)
 

Public Attributes

IRmiHostm_core
 
bool m_internalUse
 
int m_signature
 
bool m_enableNotifySendByProxy
 

Detailed Description

Base class of Proxy class created by PIDL compiler

Note

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

Member Function Documentation

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

User must not override this function.

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

User must not override this function.

virtual PROUD_API void Proud::IRmiProxy::NotifySendByProxy ( const HostID remotes,
int  remoteCount,
const MessageSummary summary,
RmiContext rmiContext,
const CMessage msg 
)
virtual

This function is called back every time RMI is called for message send(e.g. calling from proxy). This function is used when there is a need to leave porfiler or RMI use log. Please refer to Approaching Transmission (Proxy) call.

  • Multiple reciever cause multiple calling.
  • Base function does not do anything.

Plus, this provides a cance to finally modify RmiContext before sending. (Why the last chance is given: for the case there is an incorrect value and to notify, warn and modify finally. During OBT, we need to do prob analysis and solving at the same time.)

Parameters
sendToreciever
summarygist of RMI message to be sent
rmiContextRmiContext value called by user
virtual PROUD_API bool Proud::IRmiProxy::RmiSend ( const HostID remotes,
int  remoteCount,
RmiContext rmiContext,
const CMessage msg,
const PNTCHAR *  RMIName,
RmiID  RMIId 
)
virtual

User must not override this function. Must be public in order to override at ProudClr

Member Data Documentation

bool Proud::IRmiProxy::m_enableNotifySendByProxy

If set as true then NotifySendByProxy can be called

  • When set as true, it lowers process performance by a little. But, if you cannot afford to hasve the loss then set this as false.
  • Default is true.