mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-03 04:19:20 -04:00
37 lines
1.0 KiB
C++
Executable File
37 lines
1.0 KiB
C++
Executable File
// ChatServerConnection.h
|
|
// Copyright 2004, Sony Online Entertainment Inc., all rights reserved.
|
|
|
|
#ifndef INCLUDED_ChatServerConnection_H
|
|
#define INCLUDED_ChatServerConnection_H
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
#include "serverUtility/ServerConnection.h"
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
class GameNetworkMessage;
|
|
|
|
class ChatServerConnection : public ServerConnection
|
|
{
|
|
public:
|
|
|
|
ChatServerConnection(UdpConnectionMT * u, TcpClient * t);
|
|
~ChatServerConnection();
|
|
|
|
void onConnectionClosed();
|
|
void onConnectionOpened();
|
|
void onReceive(const Archive::ByteStream & bs);
|
|
|
|
static void sendTo(GameNetworkMessage const &message);
|
|
|
|
private:
|
|
|
|
ChatServerConnection & operator = (const ChatServerConnection & rhs);
|
|
ChatServerConnection(const ChatServerConnection & source);
|
|
}; //lint !e1712 default constructor not defined for class
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
#endif // INCLUDED_ChatServerConnection_H
|