Rabbit Remote Control 0.1.0-bate14
Loading...
Searching...
No Matches
CServiceTigerVNC Class Reference
Inheritance diagram for CServiceTigerVNC:
Collaboration diagram for CServiceTigerVNC:

Public Member Functions

 CServiceTigerVNC (CPluginService *plugin)
Public Member Functions inherited from CService
 CService (CPluginService *plugin)
virtual int Init ()
 Load parameters, support non-Qt event loop.
virtual int Clean ()
CParameterServiceGetParameters ()
virtual int LoadConfigure (const QString &szDir=QString())
virtual int SaveConfigure (const QString &szDir=QString())

Protected Member Functions

virtual int OnInit () override
 Init service.
virtual int OnClean () override
 Clean service.
Protected Member Functions inherited from CService
virtual int OnProcess ()
 Process service.

Private Slots

void slotNewConnection ()
void slotDisconnected ()
void slotError (int nErr, QString szErr)

Private Attributes

QTcpServer m_Lister
QList< QSharedPointer< CConnection > > m_lstConnection

Additional Inherited Members

Protected Slots inherited from CService
virtual void slotProcess ()
 Support non-Qt event loop.
Protected Attributes inherited from CService
CParameterServicem_pPara
CPluginServicem_pPlugin

Detailed Description

Definition at line 17 of file ServiceTigerVNC.h.

Constructor & Destructor Documentation

◆ CServiceTigerVNC()

CServiceTigerVNC::CServiceTigerVNC ( CPluginService * plugin)
explicit

Definition at line 23 of file ServiceTigerVNC.cpp.

◆ ~CServiceTigerVNC()

CServiceTigerVNC::~CServiceTigerVNC ( )
virtual

Definition at line 33 of file ServiceTigerVNC.cpp.

Member Function Documentation

◆ OnClean()

int CServiceTigerVNC::OnClean ( )
overrideprotectedvirtual

Clean service.

Returns

Implements CService.

Definition at line 100 of file ServiceTigerVNC.cpp.

◆ OnInit()

int CServiceTigerVNC::OnInit ( )
overrideprotectedvirtual

Init service.

Returns
  • < 0: error
  • = 0: Use OnProcess (non-Qt event loop)
  • > 0: Don't use OnProcess (qt event loop)

Implements CService.

Definition at line 46 of file ServiceTigerVNC.cpp.

◆ slotDisconnected

void CServiceTigerVNC::slotDisconnected ( )
privateslot

Definition at line 153 of file ServiceTigerVNC.cpp.

◆ slotError

void CServiceTigerVNC::slotError ( int nErr,
QString szErr )
privateslot

Definition at line 162 of file ServiceTigerVNC.cpp.

◆ slotNewConnection

void CServiceTigerVNC::slotNewConnection ( )
privateslot

Definition at line 118 of file ServiceTigerVNC.cpp.

Member Data Documentation

◆ m_Lister

QTcpServer CServiceTigerVNC::m_Lister
private

Definition at line 39 of file ServiceTigerVNC.h.

◆ m_lstConnection

QList<QSharedPointer<CConnection> > CServiceTigerVNC::m_lstConnection
private

Definition at line 40 of file ServiceTigerVNC.h.


The documentation for this class was generated from the following files: