Commit Graph
23 Commits
Author SHA1 Message Date
Atsushi Eno 63cf6d7312 2007-09-06 Atsushi Enomoto <[email protected]>
* LogicalCallContext.cs, MethodCall.cs, MethodCallMessageWrapper.cs,
	  IMethodMessage.cs, ReturnMessage.cs, MethodResponse.cs
	  MethodReturnMessageWrapper.cs : couple more of (2.0/1.1) API fixes.


svn path=/trunk/mcs/; revision=85388
2007-09-06 05:16:16 +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 97c23622ff 2006-02-06 Lluis Sanchez Gual <[email protected]>
* LogicalCallContext.cs, MethodCall.cs, ReturnMessage.cs,
	  MethodResponse.cs: Create a new LogicalCallContext for
	  every message. Fixes #77364 again.


svn path=/trunk/mcs/; revision=56586
2006-02-06 14:54:14 +00:00
Lluis Sanchez 968c155b82 2006-01-31 Lluis Sanchez Gual <[email protected]>
* LogicalCallContext.cs: Added shared empty call context.
	* MethodCall.cs: Added better error checking and reporting in
	the code that resolves methods.
	
	* ReturnMessage.cs, MethodResponse.cs, MethodCall.cs: Never return null in 
	LogicalCallContext. If it's null, return an empty context. Based
	on a patch by Dominic Ullmann that fixes bug #77364.


svn path=/trunk/mcs/; revision=56355
2006-01-31 19:45:07 +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 dc510f2bc5 * MethodResponse.cs: Only get the MethodBase from type and method name when
requested.

svn path=/trunk/mcs/; revision=27102
2004-05-11 13:36:05 +00:00
Lluis Sanchez acd8316fc2 * MethodResponse.cs: In the serialization constructor, initialize MethodBase
using the method name and type name.

svn path=/trunk/mcs/; revision=27075
2004-05-11 09:55:54 +00:00
Lluis Sanchez 1fdc2d497d * MethodResponse.cs, ReturnMessage.cs: More null checks.
svn path=/trunk/mcs/; revision=26581
2004-05-03 11:42:06 +00:00
Lluis Sanchez 9f1366ce76 * MethodResponse.cs, ReturnMessage.cs: Added null checks.
svn path=/trunk/mcs/; revision=26404
2004-04-30 09:35:47 +00:00
Raja R Harinath 9d302f3280 (MethodResponse.GetOutArg): Make reference to _args null-safe.
svn path=/trunk/mcs/; revision=26289
2004-04-29 10:28:56 +00:00
Raja R Harinath 68a21db35d (MethodResponse.OutArgCount): Make reference
to _args null-safe.

svn path=/trunk/mcs/; revision=26287
2004-04-29 10:12:47 +00:00
Lluis Sanchez 7a1bf072da * CADMessages.cs: Revert last change. It was ok.
* MethodResponse.cs, ReturnMessage.cs: Handle output parameters in a
	  different way. The message is constructed from an array that has all
	  parameters, including input parameters (which will be set to null).
	  The Args property returns all arguments. OutArgs returns only the
	  output arguments, which are taken from the provided args list.

svn path=/trunk/mcs/; revision=26186
2004-04-28 18:39:26 +00:00
Lluis Sanchez f61f2aea52 * MethodCall.cs, MethodResponse.cs, ReturnMessage.cs: Implemented
HasVarArgs property.

svn path=/trunk/mcs/; revision=20473
2003-11-26 15:19:10 +00:00
Lluis Sanchez b369a2476d * ArgInfo.cs, ClientContextTerminatorSink.cs, ErrorMessage.cs, MethodCall.cs,
MethodResponse.cs, MonoMethodMessage.cs, ServerContextTerminatorSink.cs,
	  StackBuilderSink.cs: Fixed class visibility.
	* CADMessages.cs: Added null reference check in SaveLogicalCallContext.
	* ISerializationRootObject.cs: Added.

svn path=/trunk/mcs/; revision=20198
2003-11-18 21:43:23 +00:00
Lluis Sanchez 9bb10f200d * CADMessages.cs: Added methods for setting and getting the logical call
context.
	* ConstructionCall.cs: Fixed signature of some methods.
	* ConstructionResponse.cs: Fixed signature of constructor and added missing
	  property.
	* LogicalCallContext.cs: Removed TODO.
	* MethodCall.cs, MethodResponse.cs: Added support for LogicalCallContext in
	  consturctor.
	* MethodReturnMessageWrapper.cs: Removed some unneded methods.

svn path=/trunk/mcs/; revision=20084
2003-11-16 22:23:42 +00:00
Lluis Sanchez 6ec4609ca7 * ArgInfo.cs: Use Type.IsByRef to check if a parameter is a ref or
out parameter.
	* MethodCall.cs: Improved checking if the requested client type for the target
	  object can be casted to the server type. Now not only checks type name,
	  but also the type hierarchy and implemented interfaces. Also implemented
	  method ToString().
	* MethodResponse.cs: Imlemented ToString().
	* ReturnMessage.cs: In the exception constructor, allow the request to be null.
	  Implemented ToString().
	* StackBuilderSink.cs: Check type of parameters before calling the target method.
	  (a wrong type would make the runtime to crash).

svn path=/trunk/mcs/; revision=16659
2003-07-25 12:10:09 +00:00
Lluis Sanchez 32334b170b * CADMessages.cs: removed some warnings.
* ClientContextTerminatorSink.cs: added support for dynamic sinks.
	* ConstructionCall.cs: added internal property IsContextOK.
	* MethodResponse.cs: fixed management of output parameters.
	* ServerObjectTerminatorSink.cs: added support for dynamic sinks.

svn path=/trunk/mcs/; revision=12710
2003-03-20 20:29:41 +00:00
Lluis Sanchez 5c132ca21d * IInternalMessage.cs: Added. Provides some useful methods for method messages.
* ServerContextTerminatorSink.cs: Added support for construction messages.
	* MethodCall.cs: Implemented serialization support. Added support for IInternalMessage.
	* MethodDictionary.cs: Added support for IInternalMessage.
	* MethodResponse.cs: Added serialization support. Added support for IInternalMessage.
	* MonoMethodMessage.cs: Added support for IInternalMessage.
	* ReturnMessage.cs: Added support for IInternalMessage.
	* ClientContextTerminatorSink.cs: Added.
	* ConstructionCall.cs: Added.
	* ConstructionCallDictionary.cs: Added.
	* ConstructionResponse.cs: Added.
	* EnvoyTerminatorSink.cs: Added.

svn path=/trunk/mcs/; revision=11726
2003-02-19 12:38:28 +00:00
Lluis Sanchez fbba486d1b ReturnMessage.cs, MethodResponse.cs: OutArgs initialized to an empty array when the the message returns an exception.
svn path=/trunk/mcs/; revision=11220
2003-02-05 01:19:35 +00:00
Patrik Torstensson 920df63be7 2003-02-03 Patrik Torstensson
* MethodResponse.cs: Implemented
	* MethodCall.cs: added support for Cross appdomain messages, implemented some
	missing methods.
	* MethodDictionary.cs: made serializible and added methods to get internal properties.
	* MonoMethodMessage.cs: internal dictionary is now serializible
	* ReturnMessage.cs: made serializible
	* ErrorMessage.cs: typo fix

	* CADMessage.cs: new file, implements cross appdomain messages, both call and return.
	Princip of this classes is to move unmutable objects and primitivs between appdomains
	without marshalling. This increase performance a lot of the cross appdomain channel.

svn path=/trunk/mcs/; revision=11161
2003-02-03 11:36:55 +00:00
Duncan Mak dd293f9286 More fixes from new CorCompare output.
svn path=/trunk/mcs/; revision=6395
2002-08-04 08:08:02 +00:00
Duncan Mak 04ea508bdc 2002-08-03 Duncan Mak <[email protected]>
* BinaryClientFormatterSink.cs:
	* IClientChannelSink.cs: Fixed signature for AsyncProcessResponse.

	* MethodCall.cs:
	* MethodResponse.cs: More visibility fixes. Hopefully this is the
	last of it.

svn path=/trunk/mcs/; revision=6361
2002-08-02 18:30:58 +00:00
Duncan Mak 1cb4839fba 2002-07-31 Duncan Mak <[email protected]>
* unix.args: Added new classes in
	System.Runtime.Remoting.Contexts.

	* InternalMessageWrapper.cs:
	* MessageSurrogateFilter.cs:
	* MethodCall.cs:
	* MethodCallMessageWrapper.cs:
	* MethodResponse.cs:
	* MethodReturnMessageWrapper.cs:
	* RemoteSurrogateSelector.cs: Added to CVS.

	* MonoMethodMessage.cs:
	* ReturnMessage.cs: Add set in the Uri property.

svn path=/trunk/mcs/; revision=6276
2002-07-31 10:40:33 +00:00