Пример #1
0
 private void ServerConnectionContainer_ConnectionLost(Connection connection, ConnectionType connectionType, Network.Enums.CloseReason closeReason)
 {
     oStringBuilderLog.Append(string.Format("Verbindung {0} ({1}) wurde getrennt. Grund: {2}{3}",
                                            connection.IPRemoteEndPoint, connectionType.ToString(), closeReason.ToString(), Environment.NewLine));
     LogSetzen(oStringBuilderLog.ToString());
 }
Пример #2
0
 private void oClientConnectionContainer_ConnectionLost(Connection arg1, ConnectionType arg2, Network.Enums.CloseReason arg3)
 {
     oStringBuilderLog.Append(string.Format("Verbindung mit Server getrennt ({0}): {1}{2}", arg2.ToString(), arg3.ToString(), Environment.NewLine));
     LogSetzen(oStringBuilderLog.ToString());
 }