OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef BLIMP_COMMON_ASSIGNMENT_OPTIONS_H_ |
| 6 #define BLIMP_COMMON_ASSIGNMENT_OPTIONS_H_ |
| 7 |
| 8 #include "net/base/ip_endpoint.h" |
| 9 |
| 10 namespace blimp { |
| 11 |
| 12 // Transport-specific options struct to connect to a specific Engine. This |
| 13 // structure is meant to be generated by the Engine and used by the client. |
| 14 // Clients (such as tests) are expected to pass this on as an opaque structure. |
| 15 struct AssignmentOptions { |
| 16 // Specifies the IP address and port on which to reach the engine. |
| 17 net::IPEndPoint engine_endpoint; |
| 18 |
| 19 // Specifies an optional file-descriptor to listen to (mainly for gRPC). |
| 20 int file_descriptor = -1; |
| 21 }; |
| 22 |
| 23 } // namespace blimp |
| 24 |
| 25 #endif // BLIMP_COMMON_ASSIGNMENT_OPTIONS_H_ |
OLD | NEW |