diff options
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); } |