hi
I'm trying to implement a register/notify machanism with remoting.
I have a Remote object on a server (Registered and all that stuff), and I want clients to call its register method to register an event and get notifications whenever that event happens.
I thought of declaring a public event in the remote object class, and then the clients would do:
I'm trying to implement a register/notify machanism with remoting.
I have a Remote object on a server (Registered and all that stuff), and I want clients to call its register method to register an event and get notifications whenever that event happens.
I thought of declaring a public event in the remote object class, and then the clients would do:
Code:
AddHandler rmObject.Eventhappaned, AddressOf MyHandler
[code]
but I'm not sure if it works.
Does anyone know if it's supposed to work, or have any other ideas how to implement ?