Package org.apache.guacamole.net.auth
Class DelegatingConnectionRecord
java.lang.Object
org.apache.guacamole.net.auth.DelegatingActivityRecord
org.apache.guacamole.net.auth.DelegatingConnectionRecord
- All Implemented Interfaces:
ActivityRecord,ConnectionRecord,ReadableAttributes
public class DelegatingConnectionRecord
extends DelegatingActivityRecord
implements ConnectionRecord
ConnectionRecord implementation which simply delegates all function calls to
an underlying ConnectionRecord.
-
Constructor Summary
ConstructorsConstructorDescriptionWraps the given ConnectionRecord such that all function calls against this DelegatingConnectionRecord will be delegated to it. -
Method Summary
Modifier and TypeMethodDescriptionReturns the identifier of the connection associated with this connection record.Returns the name of the connection associated with this connection record.protected ConnectionRecordReturns the underlying ConnectionRecord wrapped by this DelegatingConnectionRecord.Returns the identifier of the sharing profile that was used to access the connection associated with this connection record.Returns the name of the sharing profile that was used to access the connection associated with this connection record.Methods inherited from class org.apache.guacamole.net.auth.DelegatingActivityRecord
getAttributes, getDelegateActivityRecord, getEndDate, getIdentifier, getLogs, getRemoteHost, getStartDate, getUsername, getUUID, isActiveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.guacamole.net.auth.ActivityRecord
getAttributes, getEndDate, getIdentifier, getLogs, getRemoteHost, getStartDate, getUsername, isActiveMethods inherited from interface org.apache.guacamole.net.auth.ConnectionRecord
getUUID
-
Constructor Details
-
DelegatingConnectionRecord
Wraps the given ConnectionRecord such that all function calls against this DelegatingConnectionRecord will be delegated to it.- Parameters:
record- The record to wrap.
-
-
Method Details
-
getDelegateConnectionRecord
Returns the underlying ConnectionRecord wrapped by this DelegatingConnectionRecord.- Returns:
- The ConnectionRecord wrapped by this DelegatingConnectionRecord.
-
getConnectionIdentifier
Description copied from interface:ConnectionRecordReturns the identifier of the connection associated with this connection record.- Specified by:
getConnectionIdentifierin interfaceConnectionRecord- Returns:
- The identifier of the connection associated with this connection record.
-
getConnectionName
Description copied from interface:ConnectionRecordReturns the name of the connection associated with this connection record.- Specified by:
getConnectionNamein interfaceConnectionRecord- Returns:
- The name of the connection associated with this connection record.
-
getSharingProfileIdentifier
Description copied from interface:ConnectionRecordReturns the identifier of the sharing profile that was used to access the connection associated with this connection record. If the connection was accessed directly (without involving a sharing profile), this will be null.- Specified by:
getSharingProfileIdentifierin interfaceConnectionRecord- Returns:
- The identifier of the sharing profile used to access the connection associated with this connection record, or null if the connection was accessed directly.
-
getSharingProfileName
Description copied from interface:ConnectionRecordReturns the name of the sharing profile that was used to access the connection associated with this connection record. If the connection was accessed directly (without involving a sharing profile), this will be null.- Specified by:
getSharingProfileNamein interfaceConnectionRecord- Returns:
- The name of the sharing profile used to access the connection associated with this connection record, or null if the connection was accessed directly.
-