Пример #1
0
 void _service_CloseConnectionEvent(object sender, ConnectionEventArgs e)
 {
     if (_document._limitConnections && (_connsLeft == 0) && (_service.Connections.Length == 0))
     {
         _service.Stop();
     }
 }
Пример #2
0
 private void service_CloseConnectionEvent(object sender, ConnectionEventArgs e)
 {
     if (CloseConnectionEvent != null)
     {
         CloseConnectionEvent(sender, e);
     }
 }
Пример #3
0
 void _service_NewConnectionEvent(object sender, ConnectionEventArgs e)
 {
     AddConnection(e.Graph);
 }
Пример #4
0
 private void service_NewConnectionEvent(object sender, ConnectionEventArgs e)
 {
     if (NewConnectionEvent != null)
     {
         NewConnectionEvent(sender, e);
     }
 }
Пример #5
0
 void _service_CloseConnectionEvent(object sender, ConnectionEventArgs e)
 {
     RemoveFileLog(e.Graph);
     RemoveConnection(e.Graph);
 }