brady gaster

yadnb

remoting, events, and client activation

Sure, I'm a remoting moron, I'm totally not afraid to admit it. With that out of the way, I have some a quick question for thos of you who aren't remoting morons. Is it possible to handle events raised in a server object by a client using client activation? Of course, this seems a wee bit impossible by theory, but nonetheless I have to ask the question. Anyone? Bueller?

Comments

gilad g said:

Argh. A problem.

I remember myself investigating the area for a few days, and the two conclusions i had come up with are (don't trust me on this, though):
a) Remoting & events works, only if the client has a *full copy* of the server's class. That means, no interfaces! I don't know
b) I implemented worked around this by simply letting the server call a method back on the client. This is probably the simplest way to achieve an event-like mechanism in remoting. I remember seeing a sample on the web doing the same (it was a chat program).

Again, i could be totally wrong here. If guys here have a better idea of how to use remoting & events, let me know, too :)
# April 23, 2004 9:20 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)