Commit Graph
15 Commits
Author SHA1 Message Date
Atsushi Eno c2fb2b65d1 2009-06-09 Atsushi Enomoto <[email protected]>
* ChannelDispatcher.cs : avoid NRE (actually it should eliminate
	  Thread.Abort()). Added some comments on throttling.


svn path=/trunk/mcs/; revision=135730
2009-06-09 07:51:40 +00:00
Atsushi Eno 29364a9eb9 Prepare ServiceThorottle implementation.
svn path=/trunk/mcs/; revision=135727
2009-06-09 07:46:31 +00:00
Atsushi Eno 198d728a95 2009-06-08 Atsushi Enomoto <[email protected]>
* CommunicationObject.cs : OnClosed() requires call to base method.
	  Close() could rather abort the channel, and Abort() does not
	  always invke OnAbort().
	* ChannelBase.cs : add call to base as above.

	* ChannelDispatcher.cs :
	  Add call to base (see CommunicationObject change).

	* InstanceContext.cs :
	  Add call to base (see CommunicationObject change).

	* CommunicationObjectTest.cs : added a couple of close/abort tests
	  for state transition and base call check.


svn path=/trunk/mcs/; revision=135649
2009-06-08 09:10:08 +00:00
Atsushi Eno e27bfb8a6c 2009-06-01 Atsushi Enomoto <[email protected]>
* ChannelDispatcher.cs : handle more errors gracefully.


svn path=/trunk/mcs/; revision=135116
2009-06-01 10:16:13 +00:00
Atsushi Eno af538f251c 2009-05-18 Atsushi Enomoto <[email protected]>
* ErrorProcessingHandler.cs, InputOrReplyRequestProcessor.cs :
	  they also premise request-reply channel and broke duplex channels.


svn path=/trunk/mcs/; revision=134319
2009-05-18 13:29:28 +00:00
Atsushi Eno 3a7ba8e605 2009-05-13 Atsushi Enomoto <[email protected]>
* ChannelDispatcher.cs : open channel before using it.


svn path=/trunk/mcs/; revision=134184
2009-05-15 04:44:01 +00:00
Atsushi Eno ec6df7fbdb 2009-05-13 Atsushi Enomoto <[email protected]>
* ReplyHandler.cs, InputOrReplyRequestProcessor.cs,
	  MessageProcessingContext.cs : reply processing is also needed by
	  non-request channels (i.e. duplex). Current code basis lacked
	  such possibility. Quick fix by adding duplex support in
	  ReplyHandler so far.


svn path=/trunk/mcs/; revision=134046
2009-05-13 10:30:23 +00:00
Atsushi Eno 7bcaf9bbbc 2009-05-13 Atsushi Enomoto <[email protected]>
* ChannelDispatcher.cs, SecurityHandler.cs,
	  InputOrReplyRequestProcessor.cs, MessageProcessingContext.cs :
	  remove default communication timeouts from several types. They
	  bring bogus NRE. Instead, fill timeouts in ChannelDispatcher and
	  use it when required (it was actually *only* request processor).

	* ChannelDispatcherTest.cs : make sure ctor args are nullable.


svn path=/trunk/mcs/; revision=134044
2009-05-13 10:08:46 +00:00
Atsushi Eno 569b4b0f65 2009-05-13 Atsushi Enomoto <[email protected]>
* ChannelDispatcher.cs : wrong channel argument.


svn path=/trunk/mcs/; revision=134042
2009-05-13 09:25:12 +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
Atsushi Eno 8ac98fb28a 2009-04-23 Atsushi Enomoto <[email protected]>
* DispatchOperation.cs : implement GetFormatter() at service side too.


svn path=/trunk/mcs/; revision=132447
2009-04-23 11:06:40 +00:00
Atsushi Eno 75075e36f8 2009-04-01 Atsushi Enomoto <[email protected]>
* OperationInvokeHandler.cs : replace MS copycat exception
          message.


svn path=/trunk/mcs/; revision=130721
2009-04-01 05:03:44 +00:00
Atsushi Eno 9096916965 2009-02-26 Atsushi Enomoto <[email protected]>
* ClientRuntime.cs : fill contractType in .ctor().


svn path=/trunk/mcs/; revision=128054
2009-02-26 05:04:48 +00:00
Atsushi Eno 55791e96b7 2009-02-04 Atsushi Enomoto <[email protected]>
* BaseMessagesFormatter.cs : do not use non-2.1 CreateInstance().


svn path=/trunk/mcs/; revision=125653
2009-02-04 06:31:05 +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