w250697116 / apns-sharp

Automatically exported from code.google.com/p/apns-sharp
0 stars 0 forks source link

Reconnect Delay is not changed #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
NotificationConnection.ReconnectDelay is not updated although you change
the value the property value is not changed.

Currently NotificationService.ReconnectDelay is:
public int ReconnectDelay
{
   get ;
   set;
}

Should be like NotificationService.SendRetries

public int SendRetries
{
   get { return sendRetries; }
   set
   {
    sendRetries = value;
        foreach (NotificationConnection con in notificationConnections)
         con.SendRetries = sendRetries;
   }
}

******* solution ***********
public int ReconnectDelay
{
     get { return reconnectDelay; }
     set
     {
        reconnectDelay = value;
        foreach (NotificationConnection con in notificationConnections)
                    con.ReconnectDelay = reconnectDelay;
     }
}

Original issue reported on code.google.com by ofer.com...@gmail.com on 18 Mar 2010 at 8:01

GoogleCodeExporter commented 8 years ago
Fixed via your suggestion.  Thanks!

Original comment by jond...@gmail.com on 27 Mar 2010 at 7:07