Uses of Class
org.metricshub.ipmi.core.api.async.ConnectionHandle
Packages that use ConnectionHandle
Package
Description
The asynchronous API.
The package containing asynchronous API message classes.
The library's API.
For synchronous API see
For synchronous API see
org.metricshub.ipmi.core.api.sync
, for asynchronous API see org.metricshub.ipmi.core.api.async
Package responsible for
Connection
management.-
Uses of ConnectionHandle in org.metricshub.ipmi.core.api.async
Methods in org.metricshub.ipmi.core.api.async that return ConnectionHandleModifier and TypeMethodDescriptionIpmiAsyncConnector.createConnection
(InetAddress address, int port) Creates connection to the remote host.IpmiAsyncConnector.createConnection
(InetAddress address, int port, CipherSuite cipherSuite, PrivilegeLevel privilegeLevel) Creates connection to the remote host, with pre setCipherSuite
andPrivilegeLevel
, skipping the getAvailableCipherSuites and getChannelAuthenticationCapabilities phases.Methods in org.metricshub.ipmi.core.api.async with parameters of type ConnectionHandleModifier and TypeMethodDescriptionvoid
IpmiAsyncConnector.closeConnection
(ConnectionHandle handle) Closes the connection with the given handlevoid
IpmiAsyncConnector.closeSession
(ConnectionHandle connectionHandle) Closes the session with the remote host if it is currently in open state.IpmiAsyncConnector.getAvailableCipherSuites
(ConnectionHandle connectionHandle) GetsCipherSuite
s available for the connection with the remote host.IpmiAsyncConnector.getChannelAuthenticationCapabilities
(ConnectionHandle connectionHandle, CipherSuite cipherSuite, PrivilegeLevel requestedPrivilegeLevel) Gets the authentication capabilities for the connection with the remote host.IpmiAsyncConnector.openSession
(ConnectionHandle connectionHandle, String username, String password, byte[] bmcKey) Establishes the session with the remote host.int
IpmiAsyncConnector.retry
(ConnectionHandle connectionHandle, int tag, PayloadType messagePayloadType) Attempts to retry sending a message.int
IpmiAsyncConnector.sendMessage
(ConnectionHandle connectionHandle, PayloadCoder request, boolean isOneWay) Sends the IPMI message to the remote host.void
IpmiAsyncConnector.setTimeout
(ConnectionHandle handle, int timeout) Changes the timeout value for connection with the given handle.Constructors in org.metricshub.ipmi.core.api.async with parameters of type ConnectionHandleModifierConstructorDescriptionInboundSolMessageListener
(IpmiConnector connector, ConnectionHandle connectionHandle, List<SolEventListener> eventListeners) -
Uses of ConnectionHandle in org.metricshub.ipmi.core.api.async.messages
Methods in org.metricshub.ipmi.core.api.async.messages that return ConnectionHandleModifier and TypeMethodDescriptionIpmiResponse.getHandle()
ConnectionHandle
to the message that was an origin of the response Handle contains only the id of the connection, not theCipherSuite
andPrivilegeLevel
used in that connection.Constructors in org.metricshub.ipmi.core.api.async.messages with parameters of type ConnectionHandleModifierConstructorDescriptionIpmiError
(Exception exception, int tag, ConnectionHandle handle) IpmiResponse
(int tag, ConnectionHandle handle) IpmiResponseData
(ResponseData data, int tag, ConnectionHandle handle) -
Uses of ConnectionHandle in org.metricshub.ipmi.core.api.sync
Methods in org.metricshub.ipmi.core.api.sync that return ConnectionHandleModifier and TypeMethodDescriptionIpmiConnector.createConnection
(InetAddress address) Creates connection to the remote host on default IPMI port.IpmiConnector.createConnection
(InetAddress address, int port) Creates connection to the remote host on specified port.IpmiConnector.createConnection
(InetAddress address, int port, CipherSuite cipherSuite, PrivilegeLevel privilegeLevel) Creates connection to the remote host, with pre setCipherSuite
andPrivilegeLevel
, skipping the getAvailableCipherSuites and getChannelAuthenticationCapabilities phases.IpmiConnector.createConnection
(InetAddress address, CipherSuite cipherSuite, PrivilegeLevel privilegeLevel) Creates connection to the remote host, with pre setCipherSuite
andPrivilegeLevel
, skipping the getAvailableCipherSuites and getChannelAuthenticationCapabilities phases.Methods in org.metricshub.ipmi.core.api.sync with parameters of type ConnectionHandleModifier and TypeMethodDescriptionvoid
IpmiConnector.closeConnection
(ConnectionHandle handle) Closes the connection with the given handlevoid
IpmiConnector.closeSession
(ConnectionHandle connectionHandle) Closes the session with the remote host if it is currently in open state.IpmiConnector.getAvailableCipherSuites
(ConnectionHandle connectionHandle) GetsCipherSuite
s available for the connection with the remote host.IpmiConnector.getChannelAuthenticationCapabilities
(ConnectionHandle connectionHandle, CipherSuite cipherSuite, PrivilegeLevel requestedPrivilegeLevel) Gets the authentication capabilities for the connection with the remote host.IpmiConnector.openSession
(ConnectionHandle connectionHandle, String username, String password, byte[] bmcKey) Establishes the session with the remote host.IpmiConnector.retryMessage
(ConnectionHandle connectionHandle, byte tag, PayloadType messagePayloadType) Re-sends message with given tag having givenPayloadType
, using passedConnectionHandle
.IpmiConnector.sendMessage
(ConnectionHandle connectionHandle, PayloadCoder request) Sends the IPMI message to the remote host.void
IpmiConnector.sendOneWayMessage
(ConnectionHandle connectionHandle, PayloadCoder request) Sends the IPMI message to the remote host and doesn't wait for any response.void
IpmiConnector.setTimeout
(ConnectionHandle handle, int timeout) Changes the timeout value for connection with the given handle.Constructors in org.metricshub.ipmi.core.api.sync with parameters of type ConnectionHandleModifierConstructorDescriptionMessageListener
(ConnectionHandle handle) Initiates theMessageListener
-
Uses of ConnectionHandle in org.metricshub.ipmi.core.connection
Methods in org.metricshub.ipmi.core.connection that return ConnectionHandleMethods in org.metricshub.ipmi.core.connection with parameters of type ConnectionHandleModifier and TypeMethodDescriptionSessionManager.registerSession
(int sessionId, ConnectionHandle connectionHandle) void
SessionManager.unregisterSession
(ConnectionHandle connectionHandle) Unregisters session for given connection handle.Constructors in org.metricshub.ipmi.core.connection with parameters of type ConnectionHandle