Public Member Functions | |
virtual void | OnStartServer (CStartServerParameter &refParam)=0 |
virtual bool | MustStopNow ()=0 |
virtual CriticalSection * | GetCriticalSection ()=0 |
virtual void | OnServerStartComplete (Proud::ErrorInfo *err)=0 |
virtual String | GetDumpFilePath (Proud::HostID clientHostID, const Proud::AddrPort &clientAddr, const ::timespec &tp)=0 |
virtual void | OnFrameMove () |
delegate that is requested by dump server
|
pure virtual |
Returns critical section object. Developer must provide either the critical section that is already used by server through this function or oterwise prepared critical section object.
|
pure virtual |
Developer must provide the name of dump file to be recorded through this function. It is ideal if it is based on input parameter.
clientHostID | HostID of dump client |
clientAddr | external internet address of client |
dumpTime | time that dump stays |
|
pure virtual |
In case when server must be terminated(i.e. upon user request), it can be done if this function returns true.
|
inlinevirtual |
Periodically called
|
pure virtual |
Evnet notifies that server start is completed
err | NULL if server start is successful, if not then it contains ErrorInfo object. |
|
pure virtual |
Method that sets server execution parameter Called back at the moment server is started. User must set server execution option through this method.
refParam | server execution option. Within this function, user must set Proud.CStartServerParameter.m_tcpPort at least. Proud.CStartServerParameter.m_localNicAddr and Proud.CStartServerParameter.m_serverAddrAtClient can be set as needed. Other parameter, they do not have to be set. Note Since DumpServer does not use UDP, UDP communication will be not available even if m_udpPorts and/or m_udpAssignMode are set. |