mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-31 01:15:48 -04:00
35 lines
1.2 KiB
C++
Executable File
35 lines
1.2 KiB
C++
Executable File
// ChatServerConnection.h
|
|
// Copyright 2000-02, Sony Online Entertainment Inc., all rights reserved.
|
|
// Author: Justin Randall
|
|
|
|
#ifndef _INCLUDED_ChatServerConnection_H
|
|
#define _INCLUDED_ChatServerConnection_H
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
#include "serverUtility/ServerConnection.h"
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
class ChatServerConnection : public ServerConnection
|
|
{
|
|
public:
|
|
explicit ChatServerConnection(UdpConnectionMT *, TcpClient *);
|
|
~ChatServerConnection();
|
|
const unsigned short getGameServicePort () const;
|
|
void onConnectionClosed ();
|
|
void onConnectionOpened ();
|
|
void onReceive (const Archive::ByteStream & message);
|
|
void setGameServicePort (const unsigned short gameServicePort);
|
|
|
|
private:
|
|
ChatServerConnection & operator = (const ChatServerConnection & rhs);
|
|
ChatServerConnection(const ChatServerConnection & source);
|
|
unsigned short gameServicePort;
|
|
|
|
}; //lint !e1712 default constructor not defined
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
#endif // _INCLUDED_ChatServerConnection_H
|