Exemple #1
0
 /// <nodoc/>
 public void Start(int port)
 {
     // Create a bond host with a tracing bond service to trace bond calls.
     m_server = new BondTcpHost((ushort)port, IPAddress.Any, new TracingBondService(port, this, m_masterService.DistributionServices, m_loggingContext,
                                                                                    TracingBondService.GenerateRegistrationVoid <AttachCompletionInfo>("AttachCompleted"),
                                                                                    TracingBondService.GenerateRegistrationVoid <WorkerNotificationArgs>("Notify"),
                                                                                    TracingBondService.GenerateRegistrationVoidVoid("Heartbeat")));
 }
Exemple #2
0
 /// <nodoc/>
 public void Start(int port)
 {
     // Create a bond host with a tracing bond service to trace bond calls.
     m_server = new BondTcpHost((ushort)m_port, IPAddress.Any, m_tracingBondService);
 }