aboutsummaryrefslogtreecommitdiff
path: root/src/game/WorldSocketMgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/WorldSocketMgr.h')
-rw-r--r--src/game/WorldSocketMgr.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/game/WorldSocketMgr.h b/src/game/WorldSocketMgr.h
index b5e03e3c507..fc009d69f80 100644
--- a/src/game/WorldSocketMgr.h
+++ b/src/game/WorldSocketMgr.h
@@ -36,7 +36,7 @@ class ReactorRunnable;
class ACE_Event_Handler;
/// Manages all sockets connected to peers and network threads
-class WorldSocketMgr
+class WorldSocketMgr
{
public:
friend class WorldSocket;
@@ -44,32 +44,32 @@ public:
/// Start network, listen at address:port .
int StartNetwork (ACE_UINT16 port, const char* address);
-
+
/// Stops all network threads, It will wait for all running threads .
void StopNetwork ();
-
+
/// Wait untill all network threads have "joined" .
void Wait ();
-
+
/// Make this class singleton .
static WorldSocketMgr* Instance ();
-
+
private:
int OnSocketOpen(WorldSocket* sock);
-
+
int StartReactiveIO(ACE_UINT16 port, const char* address);
-
-private:
+
+private:
WorldSocketMgr ();
virtual ~WorldSocketMgr ();
-
+
ReactorRunnable* m_NetThreads;
size_t m_NetThreadsCount;
-
+
int m_SockOutKBuff;
int m_SockOutUBuff;
bool m_UseNoDelay;
-
+
ACE_Event_Handler* m_Acceptor;
};