Commit Graph
11 Commits
Author SHA1 Message Date
Atsushi Eno 2eb86de94d 2010-06-15 Atsushi Enomoto <[email protected]>
* TcpReplyChannel.cs : accept TCP channel on ReceiveRequest(). This
	  fixes standalone tcp-transport/sample[svc|cli]5.exe test in olive
	  (but not TcpTransportBindingElementTest.SimpleDuplexStreamed.)

	* TcpTransportBindingElementTest.cs : add connection tests (imported
	  from standalone olive tests), one is disabled for breakage.


svn path=/trunk/mcs/; revision=158924
2010-06-15 08:43:10 +00:00
Atsushi Eno efd7c155a3 2010-05-26 Atsushi Enomoto <[email protected]>
* TcpDuplexSessionChannel.cs, TcpReplyChannel.cs : do not set RelatesTo
	  here. If the contract is not one-way (IsOneWay = false) and there is
	  a callback, the callback message sent to the client should *not* be
	  assigned RelatesTo header here. Just do it in the request-reply
	  context. Do it in OperationInvokerHandler.

	* OperationInvokerHandler.cs : assign RelatesTo header item here.


svn path=/trunk/mcs/; revision=157950
2010-05-26 10:46:32 +00:00
Atsushi Eno 74380340ea 2009-12-26 Atsushi Enomoto <[email protected]>
* TcpBinaryFrameManager.cs : If preamble byte is not available from
	  the client stream, detect it to close the reply or input channel.
	* TcpRequestChannel.cs : send preamble at each request time.
	  It differentiates communication behavior on such cases that involve
	  single open and multiple requests.
	* TcpReplyChannel.cs : close the channel only when the channel is
	  oeprated to close i.e. do not close the socket every time.
	  Process preambles on each request (the same as request channel).


svn path=/trunk/mcs/; revision=148901
2009-12-26 08:46:37 +00:00
Atsushi Eno 0dbe067726 2009-08-26 Atsushi Enomoto <[email protected]>
* PeerDuplexChannel.cs : remove some comment on [MC-PRCH] behavior.
	* TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs,
	  TcpReplyChannel.cs, TcpRequestChannel.cs,
	  NamedPipeReplyChannel.cs, NamedPipeRequestChannel.cs:
	  rename EndRecord handling method to appropriate one.
	  Write EndRecord from recipient too.


svn path=/trunk/mcs/; revision=140687
2009-08-26 05:00:42 +00:00
Atsushi Eno 35c7b8b925 2009-08-20 Atsushi Enomoto <[email protected]>
* TcpChannelListener.cs, TcpReplyChannel.cs :
	  cosmetic cleanup and corrections.


svn path=/trunk/mcs/; revision=140340
2009-08-20 14:07:11 +00:00
Atsushi Eno bbe1510f77 2009-08-06 Atsushi Enomoto <[email protected]>
* ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
	  implement remaining async methods and LocalAddress.


svn path=/trunk/mcs/; revision=139466
2009-08-06 11:41:46 +00:00
Atsushi Eno 637dfea50e 2009-07-28 Atsushi Enomoto <[email protected]>
* TcpReplyChannel.cs : make sure to not try to receive request when
	  it is already closed.


svn path=/trunk/mcs/; revision=138928
2009-07-29 09:48:15 +00:00
Atsushi Eno e4dc971355 2009-07-23 Atsushi Enomoto <[email protected]>
* TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
	  Acquire TcpClient for each request/reply. Now it is fully
	  interoperable with .NET.


svn path=/trunk/mcs/; revision=138501
2009-07-23 07:21:16 +00:00
Atsushi Eno 1ce9d1db36 2009-07-23 Atsushi Enomoto <[email protected]>
* TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
	  ReplyTo and MessageId (though it is session-less), and it expects
	  EndRecord at weird stage, inconsistent with [MC-NMF]...
	  Now .NET service accepts one mono client request.


svn path=/trunk/mcs/; revision=138499
2009-07-23 06:31:30 +00:00
Atsushi Eno 899a95c371 2009-07-23 Atsushi Enomoto <[email protected]>
* TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
	  Send and receive unsized message terminator at once.
	  Send EndRecord mutually. Got one .net client request working.


svn path=/trunk/mcs/; revision=138498
2009-07-23 05:38:17 +00:00
Atsushi Eno 300441d742 2009-07-21 Atsushi Enomoto <[email protected]>
* TcpReplyChannel.cs : new reply channel implementation.
	* TcpChannelListener.cs : use above for streamed reply channel.
	* TcpDuplexSessionChannel.cs : more streaming mode support.
	* TcpRequestChannel.cs : a couple of updates to get it working
	  with the reply channel above. Still some issues on .NET interop.

	* System.ServiceModel.dll.sources: add TcpReplyChannel.


svn path=/trunk/mcs/; revision=138299
2009-07-21 14:13:06 +00:00