add/removeConnection -> add/remove

This commit is contained in:
nathan 2017-10-13 19:38:46 +02:00
parent d0ffd01d5e
commit 1af118f468

View File

@ -15,14 +15,14 @@
*/
package dorkbox.network.connection;
import java.io.IOException;
import dorkbox.network.Configuration;
import dorkbox.network.Server;
import dorkbox.network.connection.bridge.ConnectionBridgeServer;
import dorkbox.util.exceptions.InitializationException;
import dorkbox.util.exceptions.SecurityException;
import java.io.IOException;
/**
* This serves the purpose of making sure that specific methods are not available to the end user.
*/
@ -80,7 +80,7 @@ class EndPointServer<C extends Connection> extends EndPoint<C> {
* @param connection the connection to add
*/
public
void addConnection(C connection) {
void add(C connection) {
connectionManager.addConnection(connection);
}
@ -93,7 +93,7 @@ class EndPointServer<C extends Connection> extends EndPoint<C> {
* @param connection the connection to remove
*/
public
void removeConnection(C connection) {
void remove(C connection) {
connectionManager.addConnection(connection);
}
}