Пример #1
0
 public GrpcMasterClient(LoggingContext loggingContext, string buildId, string ipAddress, int port, EventHandler onConnectionTimeOutAsync)
 {
     m_loggingContext    = loggingContext;
     m_connectionManager = new ClientConnectionManager(m_loggingContext, ipAddress, port, buildId);
     m_connectionManager.OnConnectionTimeOutAsync += onConnectionTimeOutAsync;
     m_client = new Master.MasterClient(m_connectionManager.Channel);
 }
Пример #2
0
 public GrpcMasterClient(LoggingContext loggingContext, string buildId, string ipAddress, int port)
 {
     m_loggingContext    = loggingContext;
     m_connectionManager = new ClientConnectionManager(m_loggingContext, ipAddress, port, buildId);
     m_client            = new Master.MasterClient(m_connectionManager.Channel);
     m_senderInfo        = new SenderInfo()
     {
         BuildId    = buildId,
         SenderName = DistributionHelpers.MachineName,
         SenderId   = Guid.NewGuid().ToString()
     };
 }
Пример #3
0
 public GrpcMasterClient(LoggingContext loggingContext, string buildId, string ipAddress, int port)
 {
     m_loggingContext    = loggingContext;
     m_connectionManager = new ClientConnectionManager(m_loggingContext, ipAddress, port, buildId);
     m_client            = new Master.MasterClient(m_connectionManager.Channel);
 }