Struct test_patience::Server [] [src]

pub struct Server { /* fields omitted */ }

Entry point for the test, waiting for the application to start

Methods

impl Server
[src]

Start new TCP server, waiting for the application's startup notification

Get the port number of the TCP Server

This port number has to sent to the application.

Block the currently running thread until either the starting application has signaled its successful start or the timeout period has expired

Returns the duration for which was waited or an error in case of a timeout or invalid startup notification.