Proud::IEmergencyLogServerDelegate Class Referenceabstract

Public Member Functions

virtual void OnStartServer (CStartServerParameter &refParam)=0
 
virtual bool MustStopNow ()=0
 
virtual CriticalSectionGetCriticalSection ()=0
 
virtual void OnServerStartComplete (Proud::ErrorInfo *err)=0
 
virtual void OnFrameMove ()
 

Detailed Description

TODO:translate needed. The delegate requested by EmergencyLog server

Member Function Documentation

virtual CriticalSection* Proud::IEmergencyLogServerDelegate::GetCriticalSection ( )
pure virtual

TODO:translate needed. A critical section object is returned. Developers must supply either a critical section where the server is already being used or a critical section object additionally prepared.

virtual bool Proud::IEmergencyLogServerDelegate::MustStopNow ( )
pure virtual

TODO:translate needed. If this is a situation where the server must be terminated (user request, etc), then this function shall return true.

virtual void Proud::IEmergencyLogServerDelegate::OnFrameMove ( )
inlinevirtual

TODO:translate needed. It is called a fixed interval.

virtual void Proud::IEmergencyLogServerDelegate::OnServerStartComplete ( Proud::ErrorInfo err)
pure virtual

TODO:translate needed. The event that informs the server start is complete. If the server start is successful, NULL, otherwise the ErrorInfo object is in there.

virtual void Proud::IEmergencyLogServerDelegate::OnStartServer ( CStartServerParameter refParam)
pure virtual

TODO:translate needed. The method to set server run parameters. This is called back when the server starts. Users must set the server running option through this method.

Parameters
refParamServer running option. In this function, the user must configure Proud.CStartServerParameter.m_tcpPort. Proud.CStartServerParameter.m_localNicAddr,Proud.CStartServerParameter.m_serverAddrAtClient shall be configured when necessary. Other parameters need not be configured. Caution! As CEmergencyLogServer does not use UDP, UDP communication is not possible even if m_udpPorts and m_udpAssignMode are selected.