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