GUAC-1132: For consistency, rename getActiveSocket() to getSocket().
This commit is contained in:
1 parent
f9bb25fdb2
commit
129bb688f4
4 files changed
+5
-5
No files matched your search
+1
-1
@@ -84,7 +84,7 @@ public class ModeledConnectionRecord implements ConnectionRecord {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GuacamoleSocket getActiveSocket() {
|
public GuacamoleSocket getSocket() {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -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