1
0
mirror of https://github.com/deavminet/dnetd synced 2024-09-21 09:43:37 +02:00

Added comment

This commit is contained in:
Tristan B. Kildaire 2021-01-30 20:48:44 +02:00
parent d38cc17aa4
commit b32d26a53b
2 changed files with 12 additions and 2 deletions

View File

@ -225,6 +225,7 @@ public class DConnection : Thread
*/ */
private void cleanUp_delinkServers() private void cleanUp_delinkServers()
{ {
/* Only clean up if this connection is a SERVER */
if(connType == ConnectionType.SERVER) if(connType == ConnectionType.SERVER)
{ {
server.getLinkManager().removeLinkInbounded(this); server.getLinkManager().removeLinkInbounded(this);

View File

@ -390,9 +390,18 @@ public final class DMeyer : Thread
} }
/** /**
* Initializes a new inbound connection that is to be used for linking * Broadcast a message to the given server
*/ */
void initializeLink(DServer server, DConnection newConnection) public void broadcastMessage_toLink(Socket linkedServer, byte[] data)
{ {
}
/**
* Given a server link this will send the users
* this server is aware of
*/
public string[] getUsers(DLink link)
{
} }