Public Member Functions | |
virtual void | OnError (ErrorInfo *errorInfo)=0 |
virtual void | OnWarning (ErrorInfo *errorInfo)=0 |
virtual void | OnInformation (ErrorInfo *errorInfo)=0 |
virtual void | OnException (const Exception &e)=0 |
virtual void | OnNoRmiProcessed (RmiID rmiID)=0 |
virtual PROUD_API void | OnReceiveUserMessage (HostID sender, const RmiContext &rmiContext, uint8_t *payload, int payloadLength) |
virtual void | OnTick (void *) |
virtual void | OnUserWorkerThreadCallbackBegin (CUserWorkerThreadCallbackContext *) |
virtual void | OnUserWorkerThreadCallbackEnd (CUserWorkerThreadCallbackContext *) |
Event sink for ProudNet
|
pure virtual |
TODO:translate needed. It is called when an internal error is called.
errorInfo | Error information. You can easily obtain the necessary information through ErrorInfo::ToString(). More details are in the ErrorInfo help. |
|
pure virtual |
Merge to Proud.Exception
|
pure virtual |
TODO:translate needed. It is called when an internal notification is called. This is for internal status tracing, etc. and does not mean a problem situation.
errorInfo | Error information. You can easily obtain the necessary information through ErrorInfo::ToString(). More details are in the ErrorInfo help. |
|
pure virtual |
When RMI is called but there is no RMI in Stub that attached then this will callback.
|
virtual |
This function will callback once user received defined message. Then user can process as overriding this function. Please refer to Exchanging user-defined message without using RMI at all for more detail.
sender | Host that sent message. |
rmiContext | Additional information of receiving |
payload | Main text of received message. |
payloadLength | Length(byte) of received main text. |
|
inlinevirtual |
Function called back at user worker thread pool periodically. This is a Managing Timer loop RMI Event from server function.
context | same as the value entered at CStartLanServerParameter.m_timerCallbackContext |
|
inlinevirtual |
It calls before calling callback at user worker because of RMI calling or event occuring. You can use it for measuring program running performance.
|
inlinevirtual |
It calls right after calling callback at user worker because of RMI calling or event occuring. You can use it for measuring program running performance.
|
pure virtual |
TODO:translate needed. It is called when an internal warning is called. This reports a problem on a lower level than an error.
errorInfo | Error information. You can easily obtain the necessary information through ErrorInfo::ToString(). More details are in the ErrorInfo help. |