per-session-info.proto 855 B

1234567891011121314151617181920212223242526
  1. syntax = "proto2";
  2. message TcpAddress {
  3. optional string ip = 1;
  4. optional int32 port = 2;
  5. optional int32 lb_realm = 3; //load balancing cluster: server realm or 0 (generic)
  6. optional int32 lb_course = 4; //load balancing cluster: course id (see also TcpAddressService::updateAddresses)
  7. }
  8. message TcpConfig {
  9. //First server: the TCP telemetry server (34.218.60.145)
  10. repeated TcpAddress nodes = 1;
  11. }
  12. message PartnersUrls {
  13. optional string todaysplan_url = 1;
  14. optional string trainingpeaks_url = 2;
  15. }
  16. message PerSessionInfo {
  17. required string relay_url = 1;
  18. optional PartnersUrls apis = 2;
  19. optional uint64 time = 3;
  20. optional TcpConfig nodes = 4;
  21. optional int32 maxSegmSubscrs = 5; //if received, sub_718DE99570 puts log message "Received max allowed segment subscriptions from session: %d", m_maxSegmSubscrs and stores it into GlobalState...
  22. }