Save socket.

This commit is contained in:
Tristan B. Kildaire 2020-06-22 22:25:58 +02:00
parent 86e7a9c11f
commit cbadba2f1e
1 changed files with 8 additions and 0 deletions

View File

@ -27,8 +27,16 @@ public final class Manager
*/
private Mutex queueMutex;
/**
* The remote host
*/
private Socket socket;
this(Socket endpoint)
{
/* Set the socket */
socket = endpoint;
/* TODO: Create the watcher */
watcher = new Watcher(this, endpoint);