mirror of
https://github.com/deavmi/tristanable.git
synced 2024-09-21 23:02:53 +02:00
Watcher
- Added constructor which takes in an instance of `Manager` and an instance of `Socket`
This commit is contained in:
parent
80d870e41a
commit
0d740d6231
@ -24,7 +24,14 @@ public class Watcher : Thread
|
|||||||
*/
|
*/
|
||||||
private Socket socket;
|
private Socket socket;
|
||||||
|
|
||||||
|
// TODO: make package-level in a way such
|
||||||
|
// ... that only Manager can access this constructor
|
||||||
|
// TODO: Add constructor doc
|
||||||
|
this(Manager manager, Socket socket)
|
||||||
|
{
|
||||||
|
this.manager = manager;
|
||||||
|
this.socket = socket;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
private void watch()
|
private void watch()
|
||||||
|
Loading…
Reference in New Issue
Block a user