* PeerDuplexChannel.cs : ongoing implementation. Fix wrong peer
destination address in Connect() request. To repeat sending
request, use buffered copy. Set some peer-channel specific
header items. (todo: and consume them.)
svn path=/trunk/mcs/; revision=140047
* DuplexChannelBase.cs, TcpDuplexSessionChannel.cs :
get local and remote address of connected counterpart to get
callback channel connected.
* PeerDuplexChannel.cs : remove FIXME wrt above.
svn path=/trunk/mcs/; revision=139903
* PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
ServiceHost to process neighbor connection (not sure if this is
right way to go though ...).
svn path=/trunk/mcs/; revision=139391
* PeerDuplexChannel.cs : ongoing [MC-PRCH] implementation. Rewrote
connection part to use new internal IPeerConnectorContract for
neighbor connection.
svn path=/trunk/mcs/; revision=139174
* ChannelListenerBase_1.cs, TcpChannelListener.cs,
PeerChannelListener.cs, HttpChannelListener.cs :
support ListenUri accordingly too so that it could be used when
it is different from LocalAddress.Uri.
svn path=/trunk/mcs/; revision=139171
* RequestChannelBase.cs, DuplexChannelBase.cs :
Return endpoint address Uri when no explicit Via uri is specified.
* ChannelFactoryBase.cs : Remove extra async close methods.
Add async open methods. Reject null EndpointAddress.
* PeerChannelFactory.cs : remove async open methods (now in base).
svn path=/trunk/mcs/; revision=139160
* PeerDuplexChannel.cs : ongoing refactoring to work both as
listener and client. Now it creates a listening peer node, and
creates a set of TCP client channels for each peer in the mesh.
(EndpointAddress must be fixed to not filter out correct inputs).
* PeerNode.cs : remove TCP listener creator.
It is now in PeerDuplexChannel.
svn path=/trunk/mcs/; revision=139059
* PeerChannelListener.cs : do not accept more than one channel
which results in lots of listening peer node. Only one is enough.
svn path=/trunk/mcs/; revision=139058
* TcpChannelListener.cs : to avoid creating two or more channels
for one remote endpoint, check existing remote endpoints and
ignore such connections (it must be handled in different thread
fired by ChannelDispatcher loop).
* ChannelDispatcher.cs : move Open() inside acceptor lock, so that
the channel does not have to be fired Receive() before Open().
svn path=/trunk/mcs/; revision=138986
* TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
some mannerless clients [*1] do not send EndRecord accordingly, but
such channels at listener side should not be kept open. So, close
disconnected channels when the listener needs to accept another
one.
[*1] see olive/samples/wcf/clientbase/samplecli4.cs.
svn path=/trunk/mcs/; revision=138923
* TcpDuplexSessionChannel.cs :
Remove extra NIE overrides.
Implement OnAbort() apart from OnClose().
For duplex session channel, unlike reply channel, it must acquire
TCP connection before OnOpen(), otherwise ChannelDispatcher
releases the connection acceptance WaitHandle and the detected
live connection may be stolen by another channel acceptor.
svn path=/trunk/mcs/; revision=138915
* PeerChannelListener.cs : set source field. Remove unnecessary NIE.
* DuplexChannelBase.cs : comment out some extra fields (so far).
* PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.
svn path=/trunk/mcs/; revision=138609
* 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
* 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
* BinaryMessageEncoder.cs : revert the previous dictionary change.
They are indeed used for non-in-band-dictionary messages.
svn path=/trunk/mcs/; revision=138496
* TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
split out binary frame manager class into separate file.
* System.ServiceModel.dll.sources:
split out binary frame manager class into separate file.
svn path=/trunk/mcs/; revision=138489
* 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
* PeerDuplexChannel.cs: add the registered node itself to peer list.
(The messaging must be done as TCP request/reply pattern, so it's
not working yet.)
svn path=/trunk/mcs/; revision=138126
* TcpRequestChannel.cs : new channel file (TCP for request/reply
messaging pattern). The messaging part is not working yet.
* TcpChannelFactory.cs : support IRequestChannel.
* TcpDuplexSessionChannel.cs : add unsized message support.
* System.ServiceModel.dll.sources: add TcpRequestChannel.
svn path=/trunk/mcs/; revision=138125
* HttpRequestChannel.cs, RequestChannelBase.cs :
A couple of async members are now implemented in the base class.
Ditto for EndpointAddress and Via.
svn path=/trunk/mcs/; revision=138122
* PeerNode.cs : significant refactoring. It does not call resolver
to manage the node itself but rather hold its state.
* PeerDuplexChannel.cs : now it implements some of node management
functionality and Send operation. The receiver part is not yet.
svn path=/trunk/mcs/; revision=137671
* TcpChannelListener.cs, TcpDuplexSessionChannel.cs : do not pass
timeout to channel constructor. it does not make sense.
svn path=/trunk/mcs/; revision=137670
* PeerChannelFactory.cs, PeerChannelListener.cs : add MessageEncoder
as common interface member, and use binary encoder (not text).
svn path=/trunk/mcs/; revision=137669
* PeerNode.cs : some implementation cleanup before significant
refactoring. Mesh state is not maintained here. Use optionally
fixed listener address and port. Set offline status when closed.
* PeerDuplexChannel.cs : PeerNode constructor argument changes.
svn path=/trunk/mcs/; revision=137621