mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07: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
|
@Override
|
||||||
public GuacamoleSocket getActiveSocket() {
|
public GuacamoleSocket getSocket() {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -389,7 +389,7 @@ public abstract class AbstractGuacamoleSocketService implements GuacamoleSocketS
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Assign and return new socket
|
// Assign and return new socket
|
||||||
activeConnection.setActiveSocket(socket);
|
activeConnection.setSocket(socket);
|
||||||
return socket;
|
return socket;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -194,7 +194,7 @@ public class ActiveConnectionRecord implements ConnectionRecord {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GuacamoleSocket getActiveSocket() {
|
public GuacamoleSocket getSocket() {
|
||||||
return socket;
|
return socket;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -204,7 +204,7 @@ public class ActiveConnectionRecord implements ConnectionRecord {
|
|||||||
* @param socket
|
* @param socket
|
||||||
* The GuacamoleSocket to associate with this connection record.
|
* The GuacamoleSocket to associate with this connection record.
|
||||||
*/
|
*/
|
||||||
public void setActiveSocket(GuacamoleSocket socket) {
|
public void setSocket(GuacamoleSocket socket) {
|
||||||
this.socket = socket;
|
this.socket = socket;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -96,6 +96,6 @@ public interface ConnectionRecord {
|
|||||||
* The connected GuacamoleSocket, if any, or null if the connection is
|
* The connected GuacamoleSocket, if any, or null if the connection is
|
||||||
* not active or permission is denied.
|
* not active or permission is denied.
|
||||||
*/
|
*/
|
||||||
public GuacamoleSocket getActiveSocket();
|
public GuacamoleSocket getSocket();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user