Beispiel #1
0
void SDKControl::processSDKConfig(long long clientID, SDKConfigMessage* msg)
{
	assert(msg != NULL);
	SDKConfigQuery* queryRequest(new SDKConfigQuery);
	queryRequest->querySDKConfig(msg->version, msg->platform, std::bind(&SDKControl::onSDKConfigGet, this, clientID, std::placeholders::_1));
	GameServer::getInstance()->getDBQueue()->addQueueMsg(std::shared_ptr<SDKConfigQuery>(queryRequest));
}
Beispiel #2
0
unicorn::Bus::Bus( QObject* parent )
    :PlayBus( "unicorn", parent )
{
    connect( this, SIGNAL( message(QByteArray)), SLOT( onMessage(QByteArray)));
    connect( this, SIGNAL( queryRequest( QString, QByteArray )), SLOT( onQuery( QString, QByteArray )));
}
Beispiel #3
0
void QueryThread::onQueryRequest(const FetchAllInCursorQuery& q) {
    emit queryRequest(q);
}
Beispiel #4
0
void QueryThread::onQueryRequest(const CloseCursorQuery& q) {
    emit queryRequest(q);
}
Beispiel #5
0
void QueryThread::onQueryRequest(const DeclareSelectCursorQuery& q) {
    emit queryRequest(q);
}