You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.0 KiB
30 lines
1.0 KiB
#ifndef __ARGUS_SERVER_A_REMOTE_CONNECTOR__
|
|
#define __ARGUS_SERVER_A_REMOTE_CONNECTOR__
|
|
|
|
#include "../../data/net/netServer.h"
|
|
|
|
class servaKernel;
|
|
class servaRPCHadnler;
|
|
|
|
class servaRemoteClient: public networkServer, public networkServiceEngine{
|
|
private:
|
|
servaKernel *m_pMaster;
|
|
protected:
|
|
static servaRemoteClient * _instance;
|
|
explicit servaRemoteClient( servaKernel *ptr );
|
|
public:
|
|
virtual ~servaRemoteClient();
|
|
virtual networkClientHandler * attachNewClient( int SocketID, void *ptr = NULL );
|
|
virtual bool detachClient( networkClientHandler *ptr );
|
|
static servaRemoteClient * getInstance( servaKernel *ptr );
|
|
char getMojoWorkMode( uint64_t id );
|
|
uint64_t requestMojoRegistration( CSTR a, CSTR b );
|
|
virtual bool start();
|
|
virtual bool stop( bool force = true );
|
|
friend class servaRPCHadnler;
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|