- Timestamp:
- 07/01/16 17:53:05 (8 years ago)
- Location:
- branches/thasling/DistributedGA/DistributedGA.Core/Implementation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/thasling/DistributedGA/DistributedGA.Core/Implementation/PeerNetworkMessageHandler.cs
r13969 r13970 28 28 private IMessageService host = null; 29 29 30 public event EventHandler<Exception> ExceptionOccurend;30 public event EventHandler<Exception> ExceptionOccurend; 31 31 32 32 public void Init(string lanIpPrefix, string contactServerUrl, string problemInstance, int messageCacheCapacity, double communicationRate) { … … 150 150 } 151 151 } 152 152 153 153 } 154 154 } -
branches/thasling/DistributedGA/DistributedGA.Core/Implementation/WcfMessageSender.cs
r13965 r13970 119 119 120 120 var binding = new NetTcpBinding(); 121 binding.ReaderQuotas.MaxArrayLength = 2147483647;122 binding.ReaderQuotas.MaxNameTableCharCount = 2147483647;123 binding.ReaderQuotas.MaxBytesPerRead = 2147483647;124 binding.ReaderQuotas.MaxStringContentLength = 2147483647;125 126 121 var endpoint = new EndpointAddress(serviceUri); 127 122 using (var myChannelFactory = new ChannelFactory<IMessageContract>(binding, endpoint)) { … … 132 127 } 133 128 catch (Exception ex) { 129 //ignore 134 130 Console.WriteLine(ex.Message); 135 131 }
Note: See TracChangeset
for help on using the changeset viewer.