Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

implement register & notify with Remoting

Status
Not open for further replies.

stemy

Programmer
Aug 25, 2001
39
IL
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:
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 ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top