30 lines
568 B
C++
30 lines
568 B
C++
|
#include "XNUDPService.h"
|
||
|
#include "XNUDPService_p.h"
|
||
|
#include <XNCore/XNServiceManager.h>
|
||
|
|
||
|
XN_SERVICE_INITIALIZE(XNUDPService)
|
||
|
|
||
|
XNUDPService::XNUDPService() : XNServiceObject(new XNUDPServicePrivate())
|
||
|
{
|
||
|
}
|
||
|
|
||
|
XNUDPService::~XNUDPService() {
|
||
|
}
|
||
|
|
||
|
XNUDPService::XNUDPService(PrivateType *p) : XNServiceObject(p)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void XNUDPService::Initialize() {
|
||
|
T_D();
|
||
|
SuperType::Initialize();
|
||
|
/* 在这里进行其它初始化 */
|
||
|
}
|
||
|
|
||
|
void XNUDPService::PrepareForExecute() {
|
||
|
T_D();
|
||
|
SuperType::PrepareForExecute();
|
||
|
/* 在这里进行其它运行前准备工作 */
|
||
|
}
|
||
|
|