* System.Runtime.Remoting.Activation/ActivationServices.cs:
* System.Runtime.Remoting.Messaging/ConstructionCall.cs
* System.Runtime.Remoting.Proxies/ProxyAttribute.cs
* System.Runtime.Remoting.Proxies/RealProxy.cs
* System.Runtime.Remoting/RemotingServices.cs
Add a few MOONLIGHT defines to remove the RemotingProxy from
being used in Moonlight builds. This reduce the number of SSC
and code size
* moonlight_raw_corlib.dll.sources: Remove System.Runtime.Remoting.
Proxies/RemotingProxy.cs from moonlight build
2010-02-28 Robert Jordan <[email protected]>
* RealProxy.cs (PrivateInvoke): BeginInvoke return messages
do not have out args (by design). The issue has existed for many
years but it was invisible because mono_delegate_begin_invoke ()
has swallowed exceptions, which was fixed by Gonzalo in r141856.
Fixes a couple of disabled remoting tests (#576618).
In System.Runtime.Remoting/Test:
2010-02-28 Robert Jordan <[email protected]>
* BaseCalls.cs: Enable tests again. See bug #576618.
svn path=/trunk/mcs/; revision=152616
* RealProxy.cs: for a custom proxy, retrieve the OutArgs before
allowing EndInvoke to proceed because after that, OutArgs will throw
because there is no method. Fixes remoting2 and remoting3 tests.
svn path=/trunk/mcs/; revision=142695
* RealProxy.cs: If async dispatch crashes, don't propagate the
exception. The exception will be raised when calling EndInvoke.
svn path=/trunk/mcs/; revision=133620
* RealProxy.cs: Extract the output arguments from the message's
Args list (not from OutArgs), since some message objects
may not support OutArgs (for example, when the target MethodBase is
not known, there is no way to know which params are out params).
I've checked that MS.NET behaves in the same way. This fixes
bug #75277.
svn path=/trunk/mcs/; revision=46360
used by the new xdomain wrappers. Added GetAppDomainTarget() method,
which returns the remote object referenced by the proxy.
* RemotingProxy.cs: Moved _targetUri to RealProxy.
svn path=/trunk/mcs/; revision=35960
* RealProxy.cs: Moved async functionlity here, also take
care of custom proxies (non RemotingProxy) case for async and
construction calls.
* RemotingProxy.cs: allow RealProxy to call construction method and
remove end async control (moved to RealProxy)
Fixes remoting2/3 test case (mono/mono/tests) and closes bug #57672.
svn path=/trunk/mcs/; revision=27908
gets the proxy type from the MonoRemoteClass (it can change if the
vtable is upgraded).
Modified GetTransparentProxy(). Now it takes the name of the type.
The name is taken from the IRemotingTypeInfo object.
* RemotingProxy.cs: The class must implement IRemotingTypeInfo.
svn path=/trunk/mcs/; revision=23731
in the same context as the caller.
* RemotingProxy.cs: added suport for dynamic sinks. Activation code moved to
ActivationServices.
svn path=/trunk/mcs/; revision=12711
* RealProxy.cs: Added stubs for some missing methods.
* RemotingProxy.cs: The activation constructor now creates the ConstructionCall
message and collects the context properties.
Activation of objects now use IActivator instances.
svn path=/trunk/mcs/; revision=12140
* RemotingProxy.cs: Added new constructor for client activated objects.
Added method that handles construction messages.
svn path=/trunk/mcs/; revision=11727
* RealProxy.cs: changed excption behavior and added serialization helpers,
changed so it don't create a new TP for each gettp call.
* RemotingProxy.cs: added functions to short cut calls to GetHashCode and GetType,
same behavior as MS.
svn path=/trunk/mcs/; revision=11157
* 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
* 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