Package org.apache.guacamole.net.auth
Interface ActivityRecord
-
- All Known Subinterfaces:
ConnectionRecord
public interface ActivityRecordA logging record describing when a user started and ended a particular activity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetEndDate()Returns the date and time the activity ended, if applicable.StringgetRemoteHost()Returns the hostname or IP address of the remote host that performed the activity associated with this record, if known.DategetStartDate()Returns the date and time the activity began.StringgetUsername()Returns the name of the user who performed or is performing the activity at the times given by this record.booleanisActive()Returns whether the activity associated with this record is still ongoing.
-
-
-
Method Detail
-
getStartDate
Date getStartDate()
Returns the date and time the activity began.- Returns:
- The date and time the activity began.
-
getEndDate
Date getEndDate()
Returns the date and time the activity ended, if applicable.- Returns:
- The date and time the activity ended, or null if the activity is still ongoing or if the end time is unknown.
-
getRemoteHost
String getRemoteHost()
Returns the hostname or IP address of the remote host that performed the activity associated with this record, if known. If the hostname or IP address is not known, null is returned.- Returns:
- The hostname or IP address of the remote host, or null if this information is not available.
-
getUsername
String getUsername()
Returns the name of the user who performed or is performing the activity at the times given by this record.- Returns:
- The name of the user who performed or is performing the associated activity.
-
isActive
boolean isActive()
Returns whether the activity associated with this record is still ongoing.- Returns:
- true if the activity associated with this record is still ongoing, false otherwise.
-
-