Uses of Class
org.metricshub.ipmi.core.connection.Session
Packages that use Session
Package
Description
The asynchronous API.
The API for Serial Over LAN (SOL) communication for IPMI.
The synchronous API of the protocol core:
IpmiConnector opens RMCP+
sessions and sends commands, waiting for their responses.Package responsible for
Connection management.-
Uses of Session in org.metricshub.ipmi.core.api.async
Methods in org.metricshub.ipmi.core.api.async that return SessionModifier and TypeMethodDescriptionIpmiAsyncConnector.getExistingSessionForCriteria(InetAddress remoteAddress, int remotePort, String user) Returns session already bound to given connection handle fulfilling given criteria.IpmiAsyncConnector.openSession(ConnectionHandle connectionHandle, String username, byte[] password, byte[] bmcKey) Establishes the session with the remote host, with the password as bytes: the caller can then clear them once the session is open, which an immutableStringdoes not allow.IpmiAsyncConnector.openSession(ConnectionHandle connectionHandle, String username, String password, byte[] bmcKey) Establishes the session with the remote host, and raises it to the requested privilege when that is Operator or Administrator (Set Session Privilege Level, IPMI 2.0 section 22.18: every session starts at User). -
Uses of Session in org.metricshub.ipmi.core.api.sol
Methods in org.metricshub.ipmi.core.api.sol that return SessionModifier and TypeMethodDescriptionSerialOverLan.getSession()Returns the session the console exchanges its packets in: the session it was given, or the one it opened on the port of the payload when the BMC serves SOL on another port.Constructors in org.metricshub.ipmi.core.api.sol with parameters of type SessionModifierConstructorDescriptionSerialOverLan(IpmiConnector connector, Session session) Tries to open SOL communication on given existing session.SerialOverLan(IpmiConnector connector, Session session, PrivilegeLevel level, PrivilegeLevel ceiling) Tries to open SOL communication on given existing session, likeSerialOverLan(IpmiConnector, Session), for a session opened withPrivilegeLevel.MaximumAvailablewhose level its owner keeps: the console raises it from the given level, when the BMC refuses to activate the payload at that level, as far as the given ceiling only. -
Uses of Session in org.metricshub.ipmi.core.api.sync
Methods in org.metricshub.ipmi.core.api.sync that return SessionModifier and TypeMethodDescriptionIpmiConnector.getExistingSessionForCriteria(InetAddress remoteAddress, int remotePort, String user) Returns session already bound to given connection handle fulfilling given criteria.IpmiConnector.openSession(ConnectionHandle connectionHandle, String username, byte[] password, byte[] bmcKey) Establishes the session with the remote host, with the password as bytes: the caller can then clear them once the session is open, which an immutableStringdoes not allow.IpmiConnector.openSession(ConnectionHandle connectionHandle, String username, String password, byte[] bmcKey) Establishes the session with the remote host, and raises it to the requested privilege when that is Operator or Administrator (Set Session Privilege Level, IPMI 2.0 section 22.18: every session starts at User). -
Uses of Session in org.metricshub.ipmi.core.connection
Methods in org.metricshub.ipmi.core.connection that return SessionModifier and TypeMethodDescriptionstatic SessionSessionManager.establishSession(IpmiConnector connector, String remoteHost, int remotePort, String user, byte[] password, byte[] bmcKey, CipherSuiteSelectionHandler cipherSuiteSelectionHandler) Opens a new connection and session, at the Administrator privilege level, raised to it right after the login.static SessionSessionManager.establishSession(IpmiConnector connector, String remoteHost, int remotePort, String user, String password, CipherSuiteSelectionHandler cipherSuiteSelectionHandler) Opens a new connection and session, at the Administrator privilege level, raised to it right after the login.static SessionSessionManager.establishSession(IpmiConnector connector, ConnectionHandle connectionHandle, int remotePort) Opens a new connection and session on another UDP port of the BMC of the given connection (the port of a payload, IPMI 2.0 section 24.1), with its user name, password, BMC key and privilege level, and a copy of its cipher suite: opening the session keys the algorithms of its suite.SessionManager.getSessionForCriteria(InetAddress remoteAddress, int remotePort, String user) Returns session already bound to given connection handle fulfilling given criteria.SessionManager.registerSession(int newSessionId, int managedSystemSessionId, ConnectionHandle connectionHandle) SessionManager.registerSession(int newSessionId, ConnectionHandle connectionHandle)