Refactoring
This commit is contained in:
parent
40d542fdc7
commit
dfb5a5af40
@ -73,7 +73,7 @@ namespace Passer.Control.Core {
|
||||
return null;
|
||||
}
|
||||
public RemoteParticipant AddParticipant(string ipAddress, int port) {
|
||||
Console.WriteLine($"New Participant {ipAddress}:{port}");
|
||||
// Console.WriteLine($"New Participant {ipAddress}:{port}");
|
||||
RemoteParticipant participant = new(ipAddress, port) {
|
||||
networkId = (byte)this.senders.Count
|
||||
};
|
||||
|
@ -37,7 +37,7 @@ namespace Passer.Control.Core {
|
||||
|
||||
if (invokeEvent)
|
||||
Thing.InvokeNewThing(thing);
|
||||
Console.Write($"Add thing {ipAddress}:{port}[{networkId}/{thing.id}]");
|
||||
// Console.Write($"Add thing {ipAddress}:{port}[{networkId}/{thing.id}]");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user