public GcmPushChannel(GcmPushChannelSettings channelSettings, PushServiceSettings serviceSettings = null) : base(channelSettings, serviceSettings) { gcmSettings = channelSettings; transport = new GcmMessageTransportAsync(); transport.MessageResponseReceived += new Action <GcmMessageTransportResponse>(transport_MessageResponseReceived); transport.UnhandledException += new Action <GcmNotification, Exception>(transport_UnhandledException); }
public GcmPushChannel(GcmPushChannelSettings channelSettings, PushServiceSettings serviceSettings = null) : base(channelSettings, serviceSettings) { gcmSettings = channelSettings; transport = new GcmMessageTransportAsync(); transport.MessageResponseReceived += new Action<GcmMessageTransportResponse>(transport_MessageResponseReceived); transport.UnhandledException += new Action<GcmNotification, Exception>(transport_UnhandledException); }