- Timestamp:
- 01/19/16 12:45:18 (9 years ago)
- Location:
- branches/thasling/DistributedGA/DistributedGA.ContactServer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/thasling/DistributedGA/DistributedGA.ContactServer/App.config
r13524 r13557 15 15 <binding name="LargeObjects" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" /> 16 16 </basicHttpBinding> 17 <netTcpBinding> 18 <binding name="LargeObjects" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" /> 19 </netTcpBinding> 17 20 </bindings> 18 21 <services> 19 22 <service name="DistributedGA.ContactServer.ContactServiceImpl"> 20 <endpoint bindingConfiguration="LargeObjects" address="ContactService" binding=" basicHttpBinding" contract="DistributedGA.ContactServer.IContactService"/>23 <endpoint bindingConfiguration="LargeObjects" address="ContactService" binding="netTcpBinding" contract="DistributedGA.ContactServer.IContactService"/> 21 24 <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> 22 25 <host> 23 26 <baseAddresses> 24 <add baseAddress=" http://localhost:9090/DistributedGA.ContactServer" />27 <add baseAddress="net.tcp://localhost:9090/DistributedGA.ContactServer" /> 25 28 </baseAddresses> 26 29 </host> -
branches/thasling/DistributedGA/DistributedGA.ContactServer/ContactServiceImpl.cs
r13555 r13557 64 64 65 65 private void UpdateHeartbeat(PeerInfo source) { 66 Console.WriteLine("hb from {0}:{1}", source.IpAddress, source.Port); 66 67 DateTime now = DateTime.Now; 67 68 allPeers.AddOrUpdate(source, now, (k, v) => v = now);
Note: See TracChangeset
for help on using the changeset viewer.