Наследование: Squishy.Irc.Dcc.DccClient
Пример #1
0
 internal void TransferFailedNotify(DccTransferClient client, Exception ex)
 {
     if (TransferFailed != null)
     {
         TransferFailed(client, ex);
     }
 }
Пример #2
0
 internal void TransferDoneNotify(DccTransferClient client)
 {
     if (TransferDone != null)
     {
         TransferDone(client);
     }
 }
Пример #3
0
 internal void BytesTransferredNotify(DccTransferClient client, int amount)
 {
     if (TransferEstablished != null)
     {
         BytesTransferred(client, amount);
     }
 }
Пример #4
0
 internal void TransferEstablishedNotify(DccTransferClient client)
 {
     if (TransferEstablished != null)
     {
         TransferEstablished(client);
     }
 }
Пример #5
0
        internal void AddTransferClient(DccTransferClient client)
        {
            List <DccTransferClient> clients = transferCons[client.User];

            if (clients == null)
            {
                clients = new List <DccTransferClient>();
                transferCons.Add(client.User, clients);
            }
            clients.Add(client);
        }
Пример #6
0
 internal void TransferFailedNotify(DccTransferClient client, Exception ex)
 {
     if (TransferFailed != null)
         TransferFailed(client, ex);
 }
Пример #7
0
 internal void TransferEstablishedNotify(DccTransferClient client)
 {
     if (TransferEstablished != null)
         TransferEstablished(client);
 }
Пример #8
0
 internal void TransferDoneNotify(DccTransferClient client)
 {
     if (TransferDone != null)
         TransferDone(client);
 }
Пример #9
0
 internal void RemoveTransferClient(DccTransferClient client)
 {
     transferCons.Remove(client.User);
 }
Пример #10
0
 internal void BytesTransferredNotify(DccTransferClient client, int amount)
 {
     if (TransferEstablished != null)
         BytesTransferred(client, amount);
 }
Пример #11
0
 internal void AddTransferClient(DccTransferClient client)
 {
     List<DccTransferClient> clients = transferCons[client.User];
     if (clients == null)
     {
         clients = new List<DccTransferClient>();
         transferCons.Add(client.User, clients);
     }
     clients.Add(client);
 }
Пример #12
0
 internal void RemoveTransferClient(DccTransferClient client)
 {
     transferCons.Remove(client.User);
 }