mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-1132: For consistency, rename getActiveSocket() to getSocket().
This commit is contained in:
@@ -84,7 +84,7 @@ public class ModeledConnectionRecord implements ConnectionRecord {
|
||||
}
|
||||
|
||||
@Override
|
||||
public GuacamoleSocket getActiveSocket() {
|
||||
public GuacamoleSocket getSocket() {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@@ -389,7 +389,7 @@ public abstract class AbstractGuacamoleSocketService implements GuacamoleSocketS
|
||||
);
|
||||
|
||||
// Assign and return new socket
|
||||
activeConnection.setActiveSocket(socket);
|
||||
activeConnection.setSocket(socket);
|
||||
return socket;
|
||||
|
||||
}
|
||||
|
@@ -194,7 +194,7 @@ public class ActiveConnectionRecord implements ConnectionRecord {
|
||||
}
|
||||
|
||||
@Override
|
||||
public GuacamoleSocket getActiveSocket() {
|
||||
public GuacamoleSocket getSocket() {
|
||||
return socket;
|
||||
}
|
||||
|
||||
@@ -204,7 +204,7 @@ public class ActiveConnectionRecord implements ConnectionRecord {
|
||||
* @param socket
|
||||
* The GuacamoleSocket to associate with this connection record.
|
||||
*/
|
||||
public void setActiveSocket(GuacamoleSocket socket) {
|
||||
public void setSocket(GuacamoleSocket socket) {
|
||||
this.socket = socket;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user