Commit Graph
64 Commits
Author SHA1 Message Date
Kornél Pál 3b2b8116a1 CrossAppDomainChannel.cs: Make _ContextID an object that fixes bug #422491.
svn path=/trunk/mcs/; revision=120355
2008-12-01 14:52:19 +00:00
Andreas N d5881ce9a8 2008-07-02 Andreas Nahr <[email protected]>
* IChannelReceiver.cs:
	* ClientChannelSinkStack.cs:
	* ChannelDataStore.cs: Fix parameter names

svn path=/trunk/mcs/; revision=107100
2008-07-02 21:43:24 +00:00
Atsushi Eno 161dedcd31 2007-08-22 Atsushi Enomoto <[email protected]>
* ChannelServices.cs : implement ensureSecurity support in
	  RegisterChannel(IChannel,bool). Note that we don't have secure
	  channels in Sys.Runtime.Remoting.dll yet.

	* ChannelServicesTest.cs : new test fixture.

	* corlib_test.dll.sources : added ChannelServicesTest.cs.


svn path=/trunk/mcs/; revision=84605
2007-08-22 10:36:47 +00:00
Atsushi Eno 854b977d68 a set of cosmetic part of 2.0 remoting API fixes.
svn path=/trunk/mcs/; revision=84134
2007-08-15 05:47:35 +00:00
Robert Jordan 77920dff63 2007-06-05 Robert Jordan <[email protected]>
* ChannelServices.cs (CreateClientChannelSinkChain):
	Provide the URI when channel data is not IChannelDataStore,
	otherwise the channels won't be able to obtain the URI.
	Fixes #81811.


svn path=/trunk/mcs/; revision=78667
2007-06-05 19:39:16 +00:00
Lluis Sanchez 5bd76c1d73 2007-02-12 Lluis Sanchez Gual <[email protected]>
* ChannelServices.cs: Added conditional calling of StartListener,
	  to keep old software compatible with mono.


svn path=/trunk/mcs/; revision=72665
2007-02-12 15:49:53 +00:00
Lluis Sanchez c6c003744f 2006-12-18 Lluis Sanchez Gual <[email protected]>
* ChannelServices.cs: Don't call StartListening for registered
	  channels (MS.NET doesn't do it).


svn path=/trunk/mcs/; revision=69703
2006-12-19 01:17:33 +00:00
Lluis Sanchez 8e5a32897d Fix typo.
svn path=/trunk/mcs/; revision=68316
2006-11-22 01:48:42 +00:00
Lluis Sanchez 3c1c605b5e 2006-11-22 Lluis Sanchez Gual <[email protected]>
* ChannelServices.cs: Then creating a client sink chain by calling
	  CreateMessageSink, provide a null URL if there is channel data.
	  Needed because some third party channels check for a null URL before
	  looking into the channel data.


svn path=/trunk/mcs/; revision=68314
2006-11-22 01:16:34 +00:00
Robert Jordan 278c92941f 2005-11-05 Robert Jordan <[email protected]>
* ISecurableChannel.cs: Added.


svn path=/trunk/mcs/; revision=52624
2005-11-06 13:23:51 +00:00
Lluis Sanchez ffb37a20b1 2005-10-17 Lluis Sanchez Gual <[email protected]>
* ChannelServices.cs: RegisteredChannels should not include the
	hidden cross app domain channel. Fixes bug #76454. 


svn path=/trunk/mcs/; revision=51800
2005-10-17 12:20:17 +00:00
Lluis Sanchez 7a439e8066 2005-06-01 Lluis Sanchez Gual <[email protected]>
* TransportHeaders.cs: This collection turns out to be case insensitive
	AND culture insensitive.


svn path=/trunk/mcs/; revision=45300
2005-06-01 15:49:33 +00:00
Lluis Sanchez 4453c8a2ff 2005-05-31 Lluis Sanchez Gual <[email protected]>
* TransportHeaders.cs: This collection turns out to be case insensitive.


svn path=/trunk/mcs/; revision=45269
2005-05-31 20:04:47 +00:00
Zoltan Varga a4f4469e03 2005-03-10 Zoltan Varga <[email protected]>
* CrossAppDomainChannel.cs: Remove call to ResetDataStoreStatus ().

svn path=/trunk/mcs/; revision=41652
2005-03-10 16:24:28 +00:00
Lluis Sanchez bb8f939efd * CrossAppDomainChannel.cs: Added getter for the target domain Id.
svn path=/trunk/mcs/; revision=35961
2004-11-10 11:50:45 +00:00
Lluis Sanchez ff5c907233 * CrossAppDomainChannel.cs: In CreateMessageSink, ignore the url
parameter, it is not needed.

svn path=/trunk/mcs/; revision=34468
2004-09-28 08:16:41 +00:00
Lluis Sanchez 56b8f97ad6 * ChannelServices.cs: In RegisterChannel, ignore name colisions if the
channel name is "". This fixes bug #61592.

svn path=/trunk/mcs/; revision=31172
2004-07-15 09:43:56 +00:00
Lluis Sanchez 8b677cc9ec * ChannelServices.cs: In UnregisterChannel, look for registered channels
using reference compares.

svn path=/trunk/mcs/; revision=30671
2004-07-02 14:08:17 +00:00
Gert Driesen b301575dd6 * TransportHeaders.cs: added TODO for serialization
svn path=/trunk/mcs/; revision=29634
2004-06-15 18:40:13 +00:00
Lluis Sanchez 7a4f5a1080 * ChannelServices.cs: ExceptionFilterSink should be internal.
svn path=/trunk/mcs/; revision=29194
2004-06-10 14:56:27 +00:00
Lluis Sanchez 94ede21d42 * AggregateDictionary.cs: Moved to System.Runtime.Remoting.Channels
namespace.
	* BaseChannelObjectWithProperties.cs: format.
	* BaseChannelWithProperties.cs: Implemented.

svn path=/trunk/mcs/; revision=27319
2004-05-13 23:40:11 +00:00
Lluis Sanchez 96b8f0bb74 * ChannelServices.cs: Configure delayed load channels when a chanel lookup
fails.

svn path=/trunk/mcs/; revision=27101
2004-05-11 13:25:21 +00:00
Lluis Sanchez 2ddb1c0348 * ChannelServices.cs: Implemented partial support for CustomErrors
configuraiton option.

svn path=/trunk/mcs/; revision=26005
2004-04-26 18:36:04 +00:00
Lluis Sanchez 404ff940ef * GetChannelSinkProperties.cs: Implemented GetChannelSinkProperties().
* ServerDispatchSink.cs: Removed some TODOs.
	* AggregateDictionary.cs: Added.

svn path=/trunk/mcs/; revision=20134
2003-11-17 20:35:55 +00:00
Lluis Sanchez e8c214fd18 * ChannelServices.cs: Removed some TODOs. Implemented AsyncDispatchMessage.
svn path=/trunk/mcs/; revision=20082
2003-11-16 22:13:49 +00:00
Lluis Sanchez 33dee9905b ChannelServices.cs: Catch errors when creating configured channels.
svn path=/trunk/mcs/; revision=19942
2003-11-13 16:50:56 +00:00
Lluis Sanchez 15038483fb * ChannelServices.cs: Added support for creating channels from configuration
files. Added some locks.
	* SinkProviderData.cs: Implemented.

svn path=/trunk/mcs/; revision=19886
2003-11-12 15:30:01 +00:00
Zoltan Varga bc788c5b07 2003-11-01 Zoltan Varga <[email protected]>
* CrossAppDomainChannel.cs (SyncProcessMessage): Use the new
	InvokeInDomain function instead of calling SetDomain.

svn path=/trunk/mcs/; revision=19525
2003-11-01 18:15:49 +00:00
Lluis Sanchez aa1eeeea39 * CrossAppDomainChannel.cs: Before the domain switch, save and reset
thread's datastore. Restore it on return. This fixes bug #49774.

svn path=/trunk/mcs/; revision=19338
2003-10-23 11:34:21 +00:00
Lluis Sanchez 6d12ea30d8 * ChannelServices.cs: Call context management moved to RemotingServices.
svn path=/trunk/mcs/; revision=18039
2003-09-11 23:40:57 +00:00
Lluis Sanchez a746d73296 * ClientChannelSinkStack.cs: Implemented DispatchException.
svn path=/trunk/mcs/; revision=17577
2003-08-25 11:23:33 +00:00
Lluis Sanchez cfcea8822b * ChannelServices.cs: Set call context info for the incoming
remote call, and restore the context after the call.

svn path=/trunk/mcs/; revision=17339
2003-08-14 19:38:30 +00:00
Duncan Mak 4bcbe166d0 * TransportHeaders.cs: Added Serializable attribute.
* ClientChannelSinkStack.cs: Added no-param constructor.

* ContextAttribute.cs: Removed constructor.

* RealProxy.cs (GetProxiedType): Removed 'virtual' keyword.

* BinaryFormatter.cs (WriteBinaryHeader): changed from public to
private.

* Formatter.cs (WriteSByte): Added CLSCompliant attribute.

svn path=/trunk/mcs/; revision=16785
2003-07-28 19:48:38 +00:00
Lluis Sanchez dd602fcc13 * ChannelServices.cs: Implemented GetChannel() and GetUrlsForObject()
svn path=/trunk/mcs/; revision=16479
2003-07-21 12:16:23 +00:00
Lluis Sanchez b96d07f2cc * ChannelDataStore.cs: renamed some members to match MS.NET.
* ChannelServices.cs: renamed ChannelInfoStore an its members to match MS.NET.
	* CrossAppDomainChannel.cs: Renamed CrossAppDomainChannelData to match MS.NET.
	  Added processId property to CrossAppDomainData. Now it is checked in CreateSink.

svn path=/trunk/mcs/; revision=13477
2003-04-10 16:29:13 +00:00
Gonzalo Paniagua Javier b3e576e72f 2003-03-15 Lluis Sanchez Gual <[email protected]>
* System/AppDomain.cs:
	* System.Runtime.Remoting/RemotingServices.cs:
	* System.Runtime.Remoting.Channels/CrossAppDomainChannel.cs: fixes bugs
	#39380 and #39331.

svn path=/trunk/mcs/; revision=12542
2003-03-15 16:34:21 +00:00
Lluis Sanchez ae2aa396a8 * ChannelServices.cs: Minor corrections.
* CrossAppDomainChannel.cs: Context is now restored when exiting the domain.

svn path=/trunk/mcs/; revision=12136
2003-03-03 16:40:35 +00:00
Lluis Sanchez c99ad0afa1 * ChannelServices.cs: Added static property for getting the CrossContextChannel.
svn path=/trunk/mcs/; revision=11724
2003-02-19 12:37:19 +00:00
Lluis Sanchez 36b567c8c9 * ChannelServices.cs: Added new constructor in ChannelInfoStore, that is used by
ObjRef to create a ChannelInfoStore with user provided channel info.

svn path=/trunk/mcs/; revision=11293
2003-02-07 11:14:23 +00:00
Lluis Sanchez 53653fa9f7 CrossAppDomainChannel.cs: Corrected CADSerializer.DeserializeMessage.
Now it uses the method DeserializeMethodResponse to deserialize the message when the msg is provided.

svn path=/trunk/mcs/; revision=11221
2003-02-05 01:20:23 +00:00
Lluis Sanchez 1a2726468d ChannelServices.cs: Modified to work with new types of identities.
svn path=/trunk/mcs/; revision=11197
2003-02-04 12:52:48 +00:00
Patrik Torstensson 740b00069e 2003-02-03 Patrik Torstensson
* CrossAppDomainChannel.cs: Implemented cross appdomain marshalling via cross
	app domain messages (smuggling objects between domains)

svn path=/trunk/mcs/; revision=11162
2003-02-03 11:37:44 +00:00
Lluis Sanchez 6c3765168b * ChannelServices.cs: corrected generation
of exception in SyncDispatchMessage.

svn path=/trunk/mcs/; revision=11022
2003-01-29 18:04:36 +00:00
Patrik Torstensson 8171eef6ce 2002-12-28 Patrik Torstensson
* CrossAppDomainChannel.cs: First version, without support for "going" into the right domain

svn path=/trunk/mcs/; revision=10980
2003-01-28 14:45:06 +00:00
Lluis Sanchez 6bcf280a36 * ChannelServices.cs: small correction in CreateClientChannelSinkChain.
* ChannelDataStore.cs: added Serializable attribute.

svn path=/trunk/mcs/; revision=10922
2003-01-26 17:30:22 +00:00
Miguel de Icaza 5e017a3f3f 2002-12-20 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: Added ObjectIdentity property.
	  Implemented CrateObjRef.
	* RemotingProxy.cs: Added Identity parameter to constructor

2002-12-20  Lluis Sanchez Gual <[email protected]>

	* ServerContextTerminatorSink.cs: Added
	* ServerObjectTerminatorSink.cs: Added
	* StackBuilderSink.cs: Added

2002-12-20  Lluis Sanchez Gual <[email protected]>

	* LeaseSink.cs: Added
2002-12-20 Lluis Sanchez Gual <[email protected]>

	* ObjRef.cs: Implementation now based on methods of RemotingServices.
	* RemotingServices.cs: Remoting information now kept in Identity objects.
	  All methods adapted to work with identities.
	  Renamed ExecuteMessage to InternalExecuteMessage. ExecuteMessage should
	  not make a direct call to the object.
	* Identity.cs: added.

svn path=/trunk/mcs/; revision=9822
2002-12-21 23:00:04 +00:00
Duncan Mak c77b63d3f5 2002-12-06 Duncan Mak <[email protected]>
* UrlAttribute.cs (GetHashCode): Implemented.

	* BaseChannelSinkWithProperties.cs (constructor): Implemented by
	chaining on to the base constructor.

	* BaseChannelObjectWithProperties.cs : Implemented the Count,
	IsFixedSize, IsReadOnly, IsSynchronized, Keys, Properties, SyncRoot,
	Values properties.

	Implemented the Contains and GetEnumerator methods.

	Removed the unnecessary TODO attribute on the constructor, and the Add
	method.


	* Formatter.cs (WriteValueType): Remove the erroneous CLSCompliant attribute.

svn path=/trunk/mcs/; revision=9414
2002-12-07 01:43:39 +00:00
Dietmar Maurer 2e2f30bd0c * ObjRef.cs: gather the channel date at creation time.
* ChannelDataStore.cs: use a hash to store other keys

svn path=/trunk/mcs/; revision=7162
2002-08-31 12:43:34 +00:00
Gonzalo Paniagua Javier df590f5519 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
* ChannelServices.cs: added private .ctor

svn path=/trunk/mcs/; revision=7003
2002-08-24 17:53:45 +00:00
Rodrigo Moya 5c890a25c4 2002-08-13 Rodrigo Moya <[email protected]>
* SoapClientFormatterSink.cs:
	* SoapServerFormatterSinkProvider.cs:
	* SinkProviderData.cs: new classes.

svn path=/trunk/mcs/; revision=6613
2002-08-13 16:13:14 +00:00