2 * Copyright (c) 2015, Facebook, Inc.
5 * This source code is licensed under the MIT license found in the
6 * LICENSE file in the "hack" directory of this source tree.
10 val server_exists
: string -> bool
13 tracker
:Connection_tracker.t
->
15 ServerMonitorUtils.monitor_config
->
16 MonitorRpc.handoff_options
->
17 ( Timeout.in_channel
* out_channel
* string,
18 ServerMonitorUtils.connection_error
)
21 val connect_and_shut_down
:
22 tracker
:Connection_tracker.t
->
23 ServerMonitorUtils.monitor_config
->
24 ( ServerMonitorUtils.shutdown_result
,
25 ServerMonitorUtils.connection_error
)
28 val connect_to_monitor_and_get_server_progress
:
29 tracker
:Connection_tracker.t
->
31 ServerMonitorUtils.monitor_config
->
32 (string * string option, ServerMonitorUtils.connection_error
) result