mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-14 00:01:30 -04:00
36 lines
1.0 KiB
C++
Executable File
36 lines
1.0 KiB
C++
Executable File
// LoginServerConnection.h
|
|
// copyright 2000 Verant Interactive
|
|
// Author: Justin Randall
|
|
|
|
#ifndef _LoginServerConnection_H
|
|
#define _LoginServerConnection_H
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
#include "serverUtility/ServerConnection.h"
|
|
|
|
class LoginServerCommandChannel;
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
class LoginServerConnection : public ServerConnection
|
|
{
|
|
public:
|
|
LoginServerConnection(const std::string & remoteAddress, const unsigned short remotePort);
|
|
LoginServerConnection(UdpConnectionMT *, TcpClient *);
|
|
~LoginServerConnection();
|
|
|
|
void onConnectionClosed();
|
|
void onConnectionOpened();
|
|
void onReceive(const Archive::ByteStream & message);
|
|
|
|
private:
|
|
LoginServerConnection(const LoginServerConnection&);
|
|
LoginServerConnection& operator=(const LoginServerConnection&);
|
|
}; //lint !e1712 default constructor not defined
|
|
|
|
//-----------------------------------------------------------------------
|
|
|
|
#endif // _LoginServerConnection_H
|
|
|