[Mono-devel-list] IChannelReceiver.Parse

Urs Muff umuff at QUARK.com
Fri Feb 6 18:21:05 EST 2004

Hi Lluis,

I have some issues with the TcpChannel: the following function works fine on
		public static string GetChannelUri(RemotingProtocol
			IChannelReceiver channel = GetChannel(protocol);
			string objectUri;
			return channel != null ?
channel.Parse(ToUrl(protocol,new System.IO.MemoryStream()),out objectUri) :

The GetChannel function will return the right channel object depending on
protocol (like Tcp, Iiop, Http, ...) and I would like to return the channel
Uri so that I can build a complete Uri to use in Activator.GetObject.
It seems to return null instead of the channel Uri.

How am I supposed to get the channel Uri in mono?

Kindest regards,

- Urs C. Muff
Software Architect		- Research Lab, Quark
Quark Inc.
UMuff at Quark.Com    	- X6360
+1 (303) 894 3360
This e-mail transmission and any documents, files, or previous e-mail
messages appended or attached to it, may contain information that is
confidential or legally privileged. If you are not the intended recipient,
or a person responsible for delivering it to the intended recipient, you are
hereby notified that you must not read this transmission and that any
disclosure, copying, printing, distribution, or use of the information
contained or attached to this transmission is STRICTLY PROHIBITED. If you
have received this transmission in error, please immediately notify the
sender by telephone +1 (303) 894-3360 or return e-mail message
umuff at quark.com <mailto:umuff at quark.com>  and delete the original
transmission, its attachments, and any copies without reading or saving in
any manner. Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040206/db536a4c/attachment.html 

More information about the Mono-devel-list mailing list