|
#pragma once
class ChatParticipantFactory : public PushFramework::ClientFactory
{
public:
ChatParticipantFactory(void);
~ChatParticipantFactory(void);
protected:
virtual PushFramework::OutgoingPacket* onNewConnection(void*& lpContext);
virtual void onClientDisconnected(ClientKey key);
virtual void onBeforeDisposeClient(PushFramework::Client* pClient);
virtual void onClientReconnected(ClientKey key)
{
//
}
virtual void onClientConnected(ClientKey key);
virtual void disposeClient(PushFramework::Client* pClient);
virtual int onFirstRequest(PushFramework::IncomingPacket& request, void* lpContext, PushFramework::Client*& lpClient, PushFramework::OutgoingPacket*& lpPacket);
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.