доп. клинап
This commit is contained in:
1 parent
82af5df488
commit
51323dbd1b
16 files changed
+40
-66
No files matched your search
@@ -19,11 +19,10 @@ public class NetworkFrontendBridge(IPEndPoint ipEndPoint) : IFrontendBridge
|
||||
|
||||
public void Connect()
|
||||
{
|
||||
_tcpClient.Connect(ipEndPoint);
|
||||
if (_interactionModule is null)
|
||||
{
|
||||
throw new Exception("Interaction module was not injected");
|
||||
}
|
||||
|
||||
_tcpClient.Connect(ipEndPoint);
|
||||
_interactionModule.ServerStream = _tcpClient.GetStream();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user