OSSessionImpl

class OSSessionImpl(val userName: String, val terminalDevice: String, val loginTime: Long, val host: String) : OSSession

Represents an implementation of the OSSession interface. Provides concrete values for the session information, including the user, terminal device, login time, and host related to the session.

Author

N7ghtm4r3

Parameters

userName

The username of the user in the session.

terminalDevice

The terminal device associated with the session.

loginTime

The login time of the user session, represented as a timestamp in milliseconds.

host

The host name or IP address of the system where the session is active.

See also

Constructors

Link copied to clipboard
constructor(userName: String, terminalDevice: String, loginTime: Long, host: String)

Properties

Link copied to clipboard
open override val host: String
Link copied to clipboard
open override val loginTime: Long
Link copied to clipboard
open override val terminalDevice: String
Link copied to clipboard
open override val userName: String