Commit Graph
9 Commits
Author SHA1 Message Date
Atsushi Eno e60ff5ff90 Add endpoint behavior support in NET_2_1, which involved not a few additions. 2011-03-16 17:20:00 +09:00
Atsushi Eno 3966750e29 2010-06-03 Atsushi Enomoto <[email protected]>
* ContractDescriptionGenerator.cs : Now callback contract methods are
	  also reflected into OperationDescription as well as those from non-
	  callback contract. Callback methods have reverse MessageDirection,
	  so adjust them.
	* ContractDescription.cs, ServiceEndpoint.cs, TypedMessageConverter.cs :
	  A bit of renaming / reflect method call changes.

	* EndpointDispatcher.cs, DispatchRuntime.cs, ClientRuntime.cs :
	  now Callback[Dispatch|Client]Runtime properties are always filled
	  so that users can configure the callback runtimes (not sure such
	  configured runtimes work fine yet, but it is a required step).
	* InputOrReplyRequestProcessor.cs : instead of HasCallbackRuntime
	  hack, use CallbackClientRuntime.CallbackContractType for checking
	  callback existence.

	* ClientProxyGenerator.cs : CreateProxyType now carefully considers
	  requested proxy type, contract type and callback contract type.
	  i.e. now the resulting proxy has implemented methods for callbacks
	  that are also filled at ContractDescription.
	* ClientRuntimeChannel.cs : reflect some method call changes.


svn path=/trunk/mcs/; revision=158412
2010-06-03 16:33:31 +00:00
Atsushi Eno 3d60c24a10 2009-12-26 Atsushi Enomoto <[email protected]>
* DispatchRuntime.cs : shortened code and scattered monotodos.


svn path=/trunk/mcs/; revision=148898
2009-12-26 03:07:26 +00:00
Atsushi Eno 8110699760 2009-09-11 Atsushi Enomoto <[email protected]>
* EndpointDispatcher.cs : AddressFilter is always non-null.
	* DispatchRuntime.cs : CallbackClientRuntime seems to be created even
	  for non-callback dispatchers. Fixing this also results in fixes in
	  couple of nunit regressions.
	* InputOrReplyRequestProcessor.cs : the change above required fix
	  here too (it has null check).


svn path=/trunk/mcs/; revision=141743
2009-09-11 10:33:15 +00:00
Atsushi Eno a8b7f12194 2009-08-07 Atsushi Enomoto <[email protected]>
* DispatchRuntime.cs : callback runtime is set later.


svn path=/trunk/mcs/; revision=139543
2009-08-07 06:12:21 +00:00
Atsushi Eno f1915fefb7 2009-07-14 Atsushi Enomoto <[email protected]>
* OperationBehaviorAttribute.cs :
	  add AutoDisposeParameters, and apply it.
	* CallbackBehaviorAttribute.cs : added couple of missing members.

	* DispatchRuntime.cs : add ValidateMustUnderstand.
	* DispatchOperation.cs : add AutoDisposeParameters.


svn path=/trunk/mcs/; revision=137849
2009-07-14 11:31:10 +00:00
Atsushi Eno f27bca4e70 2009-06-23 Atsushi Enomoto <[email protected]>
* ServiceHostBase.cs : remove more TODO.

	* DispatchRuntime.cs : do not fill InstanceContextProvider here.
	* ChannelDispatcher.cs : do it here instead.
	* ChannelDispatcherCollection.cs : remove TODOs.

	* ChannelDispatcherTest.cs : make sure that the port to be in use is
	  available before running the tests. Check attach state.
	* DispatchRuntimeTest.cs : make sure that it runs through all the
	  behavior tests.


svn path=/trunk/mcs/; revision=136695
2009-06-23 10:21:19 +00:00
Atsushi Eno 4a23fddcb7 2009-04-27 Atsushi Enomoto <[email protected]>
* DispatchRuntime.cs : some comment.
	* ChannelDispatcher.cs : ongoing changes to handle listeners and
	  accepted channels at more precise state. Listeners are opened,
	  without accepting channels. Some setup code is done at OnOpen(),
	  while some are done at OnOpened().

	* ServiceHost.cs : split dispatcher open from dispatcher loop start.
	  Use DispatchRuntime.Type to specify service type.

	* ChannelDispatcherTest.cs : added a couple of EndpointDispatcher
	  state tests.


svn path=/trunk/mcs/; revision=132739
2009-04-27 14:40:43 +00:00
Jb Evain bdd0809c70 move to from olive to mcs
svn path=/trunk/mcs/; revision=111187
2008-08-20 21:24:37 +00:00