* TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
I cannot precisely identify when EndRecord should be consumed,
so allow it at either at the end of ReadSizedMessage() or on
consuming preamble (it's likely handling EndRecord of previous
message though).
Now duplex IPeerResolverContract communication works between
either of .NET/Mono client and .NET/Mono server.
svn path=/trunk/mcs/; revision=135046
* TcpDuplexSessionChannel.cs : looks like I have added some bogus
code. Handle preamble ack on ReadSizedMessage() only at server.
Consume EndRecord from server, at client side. Though it is likely
changed as it's blocking when mono is at server side.
svn path=/trunk/mcs/; revision=135044
* TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
different protocol than existing code with related to preamble ack.
So changed it to work fine with .NET client (finally).
svn path=/trunk/mcs/; revision=135043
* BinaryMessageEncoder.cs : the serializer somehow leaves binary
xml open, so close the writer as well as open elements.
* TcpDuplexSessionChannel.cs : clear write buffer on each operation.
Do not output EndRecord and SizedMessage at a time.
svn path=/trunk/mcs/; revision=134820
* TcpDuplexSessionChannel.cs : It seems that buffered stream channel
only accepts buffered messages, so do as such for write buffers.
Add RelatesTo header.
svn path=/trunk/mcs/; revision=134745
* PeerNode.cs : if Resolve() returns no address, create a new peer
address here, and shut it down when it is closed.
* PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
svn path=/trunk/mcs/; revision=134686
* BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
This encoder factory implements CreateSessionEncoder() and binary
encoder does support session transmit, in different media type.
* ChannelManagerBase.cs : added utility method to create appropriate
encoder.
* HttpChannelFactory.cs, HttpChannelListener.cs,
MsmqChannelFactory.cs, MsmqChannelListener.cs,
PeerChannelFactory.cs, PeerChannelListener.cs,
TcpChannelFactory.cs, TcpChannelListener.cs : use above.
* MessageEncoderTest.cs : test CreateSessionEncoder().
svn path=/trunk/mcs/; revision=134584
* MessageFault.cs : Reason is mandatory. raise XmlException, and
CommunicationException in each CreateFault().
* soap-fault-incomplete.xml : new test file.
* MessageFaultTest.cs : new test.
* System.ServiceModel.dll_test.sources: added MessageFaultTest.cs.
svn path=/trunk/mcs/; revision=134197
* TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
Open(). Some (but not all yet) continuous communication works now.
Use ProtocolException. Remove dummy binary session string.
svn path=/trunk/mcs/; revision=134185
* TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
sending/receiving SizedMessageRecord parts to manager class.
Handle writer session, though it is likely broken at dictionary
writer part (no string is written so far).
* BinaryMessageEncoder.cs : add writer session and rename reader
session.
svn path=/trunk/mcs/; revision=134117
* TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
is mandatory in initiator preamble packet. Handle Fault reply in
initiator preamble.
svn path=/trunk/mcs/; revision=134111
* TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
based communication under TcpBinaryFrameManager class.
svn path=/trunk/mcs/; revision=134107
* TcpDuplexSessionChannel.cs : implement in-band dictionary support
in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
comments for magic numbers based on [MC-NMF].
* BinaryMessageEncodingBindingElementTest.cs, binary-message.raw:
new test files.
* System.ServiceModel.dll_test.sources: added
BinaryMessageEncodingBindingElementTest.cs.
svn path=/trunk/mcs/; revision=132882
* BinaryMessageEncoder.cs : implement part of in-band dictionary
support for [MC-NBFSE] record in [MC-NMF], in this class.
svn path=/trunk/mcs/; revision=132881
* PeerResolver.cs, PeerResolverImpl.cs :
update API to the latest .NET.
* PnrpPeerResolverBindingElement.cs : sync with PeerResolver changes.
svn path=/trunk/mcs/; revision=132237