Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorAtsushi Eno <atsushieno@gmail.com>2009-08-07 12:26:53 +0400
committerAtsushi Eno <atsushieno@gmail.com>2009-08-07 12:26:53 +0400
commit36c002b7b77a63d5467ccb0813701c4368303928 (patch)
treee94da805b739ac5055e8f1d474a5f0c425a686a9 /mcs
parent0c22cb44ffb2e4f05e416a385f3f0e47305c330a (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-xmcs/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog4
-rwxr-xr-xmcs/class/System.ServiceModel/System.ServiceModel.Channels/PeerDuplexChannel.cs3
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);
}