Class Session
java.lang.Object
org.metricshub.ipmi.core.connection.Session
Single opened IPMI session handle. It contains all information necessary to distinguish session among others.
-
Constructor Summary
ConstructorsConstructorDescriptionSession(int sessionId, int managedSystemSessionId, ConnectionHandle connectionHandle) Session(int sessionId, ConnectionHandle connectionHandle) -
Method Summary
Modifier and TypeMethodDescriptionintint
-
Constructor Details
-
Session
-
Session
- Parameters:
sessionId- the remote console session IDmanagedSystemSessionId- the managed system session ID, which the BMC generatedconnectionHandle- the connection of the session
-
-
Method Details
-
getSessionId
public int getSessionId() -
getManagedSystemSessionId
public int getManagedSystemSessionId()- Returns:
- the managed system session ID, which the BMC generated and reports in its commands (Get Payload Instance Info), or 0 when unknown
-
getConnectionHandle
-