public void Initialize(DomainHost host) { // store the remote host here so you will able to use it to send feedbacks this.host = host; host.SendMessage(this, "I am being initialized.") }
public void DoSomeChildishJob() { host.SendMessage(this, "Job started.") host.SendObject(this, 42); host.SendMessage(this, "Job finished.") }