merging
This commit is contained in:
@@ -17,10 +17,6 @@ public abstract class ConnectionHandler {
|
||||
NEW, CONFIRM_CONNECT, CONNECTED, CONFIRM_DISCONNECT, DISCONNECTED;
|
||||
}
|
||||
|
||||
public ConnectionHandler(NetworkHandler.NetworkConnection<String> connection) {
|
||||
this.connection = connection;
|
||||
}
|
||||
|
||||
public static String getDataTypeConnect() {
|
||||
return DATA_TYPE_CONNECT;
|
||||
}
|
||||
@@ -45,7 +41,7 @@ public abstract class ConnectionHandler {
|
||||
return connection;
|
||||
}
|
||||
|
||||
protected void setConnection() {
|
||||
protected void setConnection(NetworkHandler.NetworkConnection<String> connection) {
|
||||
this.connection = connection;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user