|
|
@ -132,8 +132,6 @@ namespace ZeroLevel.Network
|
|
|
|
_heartbeat_task = Sheduller.RemindEvery(TimeSpan.FromMilliseconds(HEARTBEAT_UPDATE_PERIOD_MS), Heartbeat);
|
|
|
|
_heartbeat_task = Sheduller.RemindEvery(TimeSpan.FromMilliseconds(HEARTBEAT_UPDATE_PERIOD_MS), Heartbeat);
|
|
|
|
Working();
|
|
|
|
Working();
|
|
|
|
_serverSocket.BeginAccept(BeginAcceptCallback, null);
|
|
|
|
_serverSocket.BeginAccept(BeginAcceptCallback, null);
|
|
|
|
|
|
|
|
|
|
|
|
Sheduller.RemindEvery(TimeSpan.FromSeconds(5), () => Log.Info($"Connections: {ConnectionList.Count()}"));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected abstract void Handle(Frame frame, IZBackward client);
|
|
|
|
protected abstract void Handle(Frame frame, IZBackward client);
|
|
|
|