예제 #1
0
 public StartTraceRequest(
     string serverRole,
     bool sampled,
     string baggage,
     Downstream downstream)
 {
     ServerRole = serverRole;
     Sampled    = sampled;
     Baggage    = baggage;
     Downstream = downstream;
 }
예제 #2
0
        public override string ToString()
        {
            var sb = new StringBuilder("StartTraceRequest(");

            sb.Append(", ServerRole: ");
            sb.Append(ServerRole);
            sb.Append(", Sampled: ");
            sb.Append(Sampled);
            sb.Append(", Baggage: ");
            sb.Append(Baggage);
            sb.Append(", Downstream: ");
            sb.Append(Downstream == null ? "<null>" : Downstream.ToString());
            sb.Append(")");
            return(sb.ToString());
        }
예제 #3
0
 public Downstream(
     string serviceName,
     string host,
     string port,
     string transport,
     string serverRole,
     Downstream downstream)
 {
     ServiceName = serviceName;
     Host        = host;
     Port        = port;
     Transport   = transport;
     ServerRole  = serverRole;
     Downstream_ = downstream;
 }
 public JoinTraceRequest(string serverRole, Downstream downstream)
 {
     ServerRole = serverRole;
     Downstream = downstream;
 }