diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2009-08-07 12:26:53 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2009-08-07 12:26:53 +0400 |
commit | 36c002b7b77a63d5467ccb0813701c4368303928 (patch) | |
tree | e94da805b739ac5055e8f1d474a5f0c425a686a9 /mcs | |
parent | 0c22cb44ffb2e4f05e416a385f3f0e47305c330a (diff) |
2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.
svn path=/trunk/mcs/; revision=139553
Diffstat (limited to 'mcs')
-rwxr-xr-x | mcs/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog | 4 | ||||
-rwxr-xr-x | mcs/class/System.ServiceModel/System.ServiceModel.Channels/PeerDuplexChannel.cs | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog b/mcs/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog index 4c8581e3caf..14baa1af374 100755 --- a/mcs/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog +++ b/mcs/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog @@ -1,5 +1,9 @@ 2009-08-07 Atsushi Enomoto <atsushi@ximian.com> + * PeerDuplexChannel.cs : add fixme comment and remove extra FIXME. + +2009-08-07 Atsushi Enomoto <atsushi@ximian.com> + * MessageHeader.cs : fill IsReferenceParameter. 2009-08-06 Atsushi Enomoto <atsushi@ximian.com> diff --git a/mcs/class/System.ServiceModel/System.ServiceModel.Channels/PeerDuplexChannel.cs b/mcs/class/System.ServiceModel/System.ServiceModel.Channels/PeerDuplexChannel.cs index efdbb60c902..9e47007b27a 100755 --- a/mcs/class/System.ServiceModel/System.ServiceModel.Channels/PeerDuplexChannel.cs +++ b/mcs/class/System.ServiceModel/System.ServiceModel.Channels/PeerDuplexChannel.cs @@ -84,6 +84,8 @@ namespace System.ServiceModel.Channels throw new ArgumentNullException ("connect"); try { var ch = OperationContext.Current.GetCallbackChannel<IPeerConnectorContract> (); +// FIXME: so, this duplex channel, when created by a listener, lacks RemoteAddress to send callback. Get it from somewhere. +Console.WriteLine ("FIXME FIXME:" + ((IContextChannel) ch).RemoteAddress); // FIXME: check and reject if inappropriate. ch.Welcome (new WelcomeInfo () { NodeId = connect.NodeId }); @@ -162,7 +164,6 @@ throw; channel_factory = new ChannelFactory<IPeerConnectorClient> (binding); } - // FIXME: EndpointAddress must be "net.p2p://{meshId}", eliminating the remaining path. return channel_factory.CreateChannel (new EndpointAddress ("net.p2p://" + node.MeshId), pna.EndpointAddress.Uri); } |