TransferEstablishedNotify() приватный Метод

private TransferEstablishedNotify ( DccTransferClient client ) : void
client DccTransferClient
Результат void
Пример #1
0
 internal override void Start()
 {
     try
     {
         m_fstream          = m_file.OpenRead();
         m_fstream.Position = StartPosition;
     }
     catch (Exception ex)
     {
         Dcc.TransferFailedNotify(this, ex);
         Shutdown();
         return;
     }
     Dcc.TransferEstablishedNotify(this);
     Transfer();
 }
Пример #2
0
 private void AfterConnect()
 {
     if (m_closed)
     {
         return;
     }
     try
     {
         m_fstream          = new FileStream(m_file.FullName, FileMode.Append, FileAccess.Write, FileShare.Read);
         m_fstream.Position = StartPosition;
     }
     catch (Exception e)
     {
         Dcc.TransferFailedNotify(this, e);
         Shutdown();
         return;
     }
     Dcc.TransferEstablishedNotify(this);
     Transfer();
 }