Commit Graph
33 Commits
Author SHA1 Message Date
Robert Jordan 9eb4a2cd77 2010-03-05 Robert Jordan <[email protected]>
* ObjRef.cs (GetRealObject): Revert previous patch as it doesn't
	cope well with CAD remoting, which doesn't flag well-known types.


svn path=/trunk/mcs/; revision=153105
2010-03-05 13:09:51 +00:00
Robert Jordan d3edf1cd53 2010-02-26 Robert Jordan <[email protected]>
* ObjRef.cs (GetRealObject): Refine to server type only when
	necessary. Fixes #504886.


svn path=/trunk/mcs/; revision=152576
2010-02-26 20:01:33 +00:00
Miguel de Icaza 3c39ac4586 Jumbo patch for NET_2_0, mscorlib is now clean
svn path=/trunk/mcs/; revision=145621
2009-11-06 22:23:59 +00:00
Andreas N 490f6ce129 2008-07-03 Andreas Nahr <[email protected]>
* ServerException.cs:
	* RemotingTimeoutException.cs:
	* RemotingException.cs:
	* RemotingServices.cs:
	* RemotingConfiguration.cs:
	* ObjRef.cs: "Fix" parameter names

svn path=/trunk/mcs/; revision=107176
2008-07-03 19:20:37 +00:00
Atsushi Eno 936dfc332b clearing ComVisibleAttribute noises in 2.0 API.
svn path=/trunk/mcs/; revision=81245
2007-07-03 12:28:53 +00:00
Lluis Sanchez e5f3efef02 2006-08-23 Lluis Sanchez Gual <[email protected]>
* ObjRef.cs: Throw a TypeLoadException exception if the referenced
	  type can't be found. That's better than a nullref.


svn path=/trunk/mcs/; revision=64279
2006-08-23 21:19:57 +00:00
Zoltan Varga 9c73996e69 2005-06-06 Zoltan Varga <[email protected]>
* ObjRef.cs RemotingServices.cs: Add some missing 2.0 attributes.

svn path=/trunk/mcs/; revision=45492
2005-06-06 14:17:19 +00:00
Lluis Sanchez 69ae8140ba 2005-05-17 Lluis Sanchez Gual <[email protected]>
* ObjRef.cs: Use IsInstanceOfType instead of IsAssignableFrom
	since GetType() may not return the correct type if the object is
	a remoting proxy.


svn path=/trunk/mcs/; revision=44637
2005-05-17 17:53:03 +00:00
Lluis Sanchez c7229c7551 * ObjRef.cs: Fixed type check in in ObjRef constructor. The requested class
must be the object class or a base class. This fixes bug #61249.

svn path=/trunk/mcs/; revision=31368
2004-07-22 09:24:36 +00:00
Duncan Mak 13d1764537 Add license and copyright to all source files in corlib
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Lluis Sanchez a86a1ae101 * ObjRef.cs: Little optimization.
svn path=/trunk/mcs/; revision=26007
2004-04-26 18:42:01 +00:00
Lluis Sanchez fbb5c0f2b4 * ObjRef.cs: Added new constructor to support CAD channel.
svn path=/trunk/mcs/; revision=18756
2003-10-08 16:39:35 +00:00
Lluis Sanchez 21733eca77 * ObjRef.cs: Implemented IsFromThisProcess().
* RemotingServices.cs: Implemented methods GetLifetimeService and
	  GetEnvoyChainForProxy. Stubbed LogRemotingStage.

svn path=/trunk/mcs/; revision=17335
2003-08-14 18:52:02 +00:00
Lluis Sanchez 4217258761 * ObjRef.cs: Fixed bug #43187, based on the patch by Jean-Marc Andre
svn path=/trunk/mcs/; revision=15642
2003-06-25 23:21:32 +00:00
Lluis Sanchez b1afe4ab46 * ObjRef.cs: Renamed ChannelInfoStore to ChannelInfo (match MS.NET)
* RemotingServices.cs: Added method to help support Async messages.
	* RemotingConfiguration.cs: Implemented property ProcessID.

svn path=/trunk/mcs/; revision=13476
2003-04-10 16:26:53 +00:00
Lluis Sanchez a82c3d48b6 * Identity.cs: Added support for dynamic properties.
* ObjRef.cs: Removed some [MonoTODO]
	* TypeInfo.cs: Added support for interfaces.
	* RemotingServices.cs: Several fixes to support interfaces in proxies.

svn path=/trunk/mcs/; revision=12714
2003-03-20 20:32:01 +00:00
Lluis Sanchez d521b3e35c * Identity.cs: Added property to check if an identity is connected (it is remotely accesible)
* ObjRef.cs: Added internal helper method for getting the server type of an ObjRef.
	* RemotingServices.cs: Implemented Disconnect method. Added support for custom proxy
	  creating using ProxyAttribute. Added support for activation attributes in creation
	  of proxies. Some other minor corrections.
	* ServerIdentity.cs: minor corrections.

svn path=/trunk/mcs/; revision=12134
2003-03-03 16:39:13 +00:00
Lluis Sanchez 367bc2553f * Identity.cs: Added envoy message sink.
* ObjRef.cs: Implemented EnvoySink property
	* RemotingConfiguration.cs: now enables proxy creation for types registered
	  as ClientActivatedType or WellKnownClientType.
	* RemotingServices.cs: Added support for ContextBoundObjects.
	  Added methods for creating proxies.
	* ServerIdentity.cs: Added initialization of envoy sink.
	* EnvoyInfo.cs: Added. It is an implementation on IEnvoyInfo.

svn path=/trunk/mcs/; revision=11722
2003-02-19 12:36:01 +00:00
Lluis Sanchez 92b40c85a4 * Identity.cs: Added ObjRef attribute, that holds the objref of the object.
Removed implementation of CreateObjRef. Now it is implemented in the derived classes.
	* ServerIdentity.cs: Added implementation of CreateObjRef.
	* RemotingServices.cs: Changed implementation of GetRemoteObject and GetClientIdentity.
	  Now they only have and ObjRef as input parameter. This is the objref received from
	  the server. Unmarshal() also checks if the objref is for a well known object.
	  In this case, a proxy is always created, but if not, it tries to get the real object.
	* ObjRef.cs: Added some flags that have info for marshalling/unmarshalling.
	  Changed behavior of IsPossibleToCAD. Now returns false. Returning true makes serialization
	  of this ObjRef to fail in the target AD. Added method UpdateChannelInfo.

svn path=/trunk/mcs/; revision=11292
2003-02-07 11:12:12 +00:00
Patrik Torstensson f69d6386e1 2003-02-03 Patrik Torstensson
* ObjRef.cs: added copy constructor and two helpers for cross
	  appdomain message marshalling.
	* RemotingServices.cs: Added helper to create transparant proxy for appdomain, and
	  register internal cross appdomain channel.

svn path=/trunk/mcs/; revision=11160
2003-02-03 11:34:52 +00:00
Lluis Sanchez 43e5ee938a * RemotingServices.cs: Added support for WellKnownService objects.
* RemotingConfiguration.cs: Implemented most of methods (Configure is not working yet).
* ObjRef.cs: Added initialization of channel info in default constructor.
* Identity.cs: Added support for WellKnownService objects.

svn path=/trunk/mcs/; revision=11020
2003-01-29 18:03:33 +00:00
Patrik Torstensson 28a0061cbf 2003-01-28 Patrik Torstensson
* ObjRef.cs: Fixed Objref marshalling flags

svn path=/trunk/mcs/; revision=10973
2003-01-28 12:10:08 +00:00
Lluis Sanchez 72e6c4348f RemotingServices.cs: Implemented some missing methods: IsMethodOverloaded,
SetObjectUriForMarshal, IsOneWay, IsObjectOutOfAppDomain,
 IsObjectOutOfContext, GetObjRefForProxy, GetObjectData,
GetMethodBaseFromMethodMessage.

TypeInfo.cs: Added.

ObjRef.cs: Implemented serialization and added support
for IRemotingTypeInfo.

svn path=/trunk/mcs/; revision=10863
2003-01-24 11:19:39 +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
Dietmar Maurer f82ceee6bb 2002-09-03 Dietmar Maurer <[email protected]>
* System.Runtime.Remoting.Channels.CORBA/CORBAChannel.cs:
	impl. the channel wrapper.

	* System.Runtime.Remoting.Channels.Simple/SimpleChannel.cs:
	impl. the channel wrapper.

	* System.Runtime.Remoting.Channels.Simple/SimpleServerChannel.cs
	(GetUrlsForUri): use all available channel uris.

svn path=/trunk/mcs/; revision=7259
2002-09-05 07:59:45 +00:00
Dietmar Maurer bcc53e7bad CORBA Channel, ObjRef serialisation support
svn path=/trunk/mcs/; revision=7191
2002-09-03 07:22:30 +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
Dietmar Maurer 2e4f40e23d channel example implementation
svn path=/trunk/mcs/; revision=7151
2002-08-30 14:01:21 +00:00
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00
Piers Haken 84187bf9a6 fixed member accessibility to match MS (corcompare).
svn path=/trunk/mcs/; revision=3531
2002-04-01 06:07:43 +00:00
Ravi Pratap M df59c46b8b 2002-01-05 Ravi Pratap <[email protected]>
* ObjRef.cs : Strew the MonoTODO attribute.

svn path=/trunk/mcs/; revision=1845
2002-01-05 04:43:46 +00:00
Miguel de Icaza e6dccbce05 Added piles of new enumerations from Sergey.
Updates the enumerations to contain [Flags] (Sergey)
Updated enumerations to have the same values as ECMA (Sergey).
Added various new methods to Type.cs
Added all the classes that were not being compiled in the past to the build.
Fix various small typos to get things compiling

Miguel

svn path=/trunk/mcs/; revision=702
2001-09-02 17:50:38 +00:00
Miguel de Icaza 825f207690 Added a few more objects.
svn path=/trunk/mcs/; revision=422
2001-08-07 01:27:15 +00:00