/// <summary>
 /// Create the remote service and marshaler.
 /// </summary>
 /// <remarks>
 /// This is how we pass the client information back to the service so
 /// the client can be properly notified of changes.
 /// Do this every time we reconnect to the service.
 /// </remarks>
 /// <param name="m">
 /// The messenger to use.
 /// </param>
 public void OnServiceConnected(Messenger m)
 {
     _downloaderService = DownloaderServiceMarshaller.CreateProxy(m);
     _downloaderService.OnClientUpdated(_downloaderServiceConnection.GetMessenger());
 }
Пример #2
0
 public void OnServiceConnected(Messenger messenger)
 {
     //("MainActivity.OnServiceConnected messenger:" + messenger.ToString());
     this._expansionDownloaderService = DownloaderServiceMarshaller.CreateProxy(messenger);
     this._expansionDownloaderService.OnClientUpdated(this._downloaderServiceConnection.GetMessenger());
 }