Re: [Mono-list] Events using Remoting

2004-12-03 Thread Andrés Otón
Thanks Lluis, Yesterday I see that problem, as you say, is that server don't know the class of client. To my chat application I solved it of this method: I add a umbrello class schema where is explain. Using this method I don't need call to each client, it is automatic. Thanks by all. --

Re: [Mono-list] Events using Remoting

2004-12-02 Thread Lluis Sanchez
Hi, The problem is that the delegate is referencing a method of a type that is no available in the server. When the server tries to deserialize the delegate, it can't find the referenced type and throws the exception. In this case, a better option is to use an interface. Create an interface such

Re: [Mono-list] Events using Remoting

2004-12-02 Thread Jonathan Gilbert
At 11:46 AM 02/12/2004 +0100, Lluis Sanchez wrote: Hi, The problem is that the delegate is referencing a method of a type that is no available in the server. When the server tries to deserialize the delegate, it can't find the referenced type and throws the exception. The server *can* see the

Re: [Mono-list] Events using Remoting

2004-12-02 Thread Lluis Sanchez
On dj, 2004-12-02 at 18:33 -0500, Jonathan Gilbert wrote: At 11:46 AM 02/12/2004 +0100, Lluis Sanchez wrote: Hi, The problem is that the delegate is referencing a method of a type that is no available in the server. When the server tries to deserialize the delegate, it can't find the

Re: [Mono-list] Events using Remoting

2004-12-01 Thread =?ISO-8859-1?Q?Andr=E9s_Ot=F3n?=
Hello, I cann't test it at MS.NET. I attach the solutio created with monodevelop. The solution is called LinuxMeeting. Well, you find inside three projects: Common, Server and Client. Common: Used to shared the classes between Server and Client. Client: ejem, the client ;-). Server: Logicaly

Re: [Mono-list] Events using Remoting

2004-11-29 Thread Lluis Sanchez
A simple console application that demonstrates the error would be really useful to understand what's the issue. Does it work with MS.NET? if it does, it is probably a bug in mono, and you should file a bug report in bugzilla.ximian.com (including the test case). Lluis. On dj, 2004-11-25 at 18:06

[Mono-list] Events using Remoting

2004-11-25 Thread =?ISO-8859-1?Q?Andr=E9s_Ot=F3n?=
Hello, I have a problem using events with MarshalByRefObject classes. I explain it: I have two programs server and client and one lib to share something classes. At lib I have the abstract class A : MarshalByRefObject. The server register at http channel this class and implement it. The client