Uses of Class
org.metricshub.ipmi.core.coding.PayloadCoder
Packages that use PayloadCoder
Package
Description
The asynchronous API.
The synchronous API of the protocol core:
IpmiConnector opens RMCP+
sessions and sends commands, waiting for their responses.The part of library responsible for message encoding and decoding.
The IPMI commands: one
IpmiCommandCoder per command, which encodes
the request and decodes the response into its ResponseData.The application commands of IPMI 2.0: Get Device ID (section 20.1), which describes the controller, and Send
Message (sections 6.13.3 and 22.7), which carries a command to a controller behind the BMC.
Chassis related commands.
FRU related commands.
The payload commands of IPMI 2.0 (section 24): Activate and Deactivate Payload, Get Payload Activation Status and
Get Payload Instance Info, which the Serial over LAN console sends, and Get Channel Payload Support.
SDR related commands.
SEL related commands.
Session management related commands.
The coder of the Serial over LAN payload:
SolCoder encodes the SOL
messages sent to the BMC and decodes its replies into SolResponseData.Package responsible for
Connection management.Package responsible for message queuing.
The
StateMachine events.-
Uses of PayloadCoder in org.metricshub.ipmi.core.api.async
Methods in org.metricshub.ipmi.core.api.async with parameters of type PayloadCoderModifier and TypeMethodDescriptionintIpmiAsyncConnector.sendMessage(ConnectionHandle connectionHandle, PayloadCoder request, boolean isOneWay) Sends the IPMI message to the remote host. -
Uses of PayloadCoder in org.metricshub.ipmi.core.api.sync
Methods in org.metricshub.ipmi.core.api.sync with parameters of type PayloadCoderModifier and TypeMethodDescriptionIpmiConnector.sendMessage(ConnectionHandle connectionHandle, PayloadCoder request) Sends the IPMI message to the remote host.voidIpmiConnector.sendOneWayMessage(ConnectionHandle connectionHandle, PayloadCoder request) Sends the IPMI message to the remote host and doesn't wait for any response. -
Uses of PayloadCoder in org.metricshub.ipmi.core.coding
Methods in org.metricshub.ipmi.core.coding with parameters of type PayloadCoderModifier and TypeMethodDescriptionstatic ResponseDataDecoder.decode(byte[] data, IpmiDecoder protocolDecoder, PayloadCoder payloadCoder) Decodes raw data intoResponseData- a wrapper class for message-specific response data.static byte[]Encoder.encode(IpmiEncoder protcolEncoder, PayloadCoder payloadCoder, int messageSequenceNumber, int sessionSequenceNumber, int sessionId) Encodes IPMI command specified by payloadCoder into byte array raw data. -
Uses of PayloadCoder in org.metricshub.ipmi.core.coding.commands
Subclasses of PayloadCoder in org.metricshub.ipmi.core.coding.commandsModifier and TypeClassDescriptionclassIpmiCommandCoder<R extends ResponseData>A wrapper for an IPMI command: encodes its request and decodes its response, of typeR. -
Uses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.app
Subclasses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.appModifier and TypeClassDescriptionclassWrapper for the Get Device ID command (IPMI 2.0 section 20.1): the identity of the controller, its firmware and the functions it provides.classSendMessage<R extends ResponseData>Send Message with response tracking (IPMI 2.0 sections 6.13.3 and 22.7): carries the request of another command to a controller behind the BMC, a satellite management controller on the IPMB for instance, and returns the response of that controller, decoded by that command. -
Uses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.chassis
Subclasses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.chassisModifier and TypeClassDescriptionclassWrapper class for Chassis Control request.classWrapper for the Chassis Identify command (IPMI 2.0 section 28.5): makes the chassis identify itself, by a blinking LED or a beep, for a number of seconds, indefinitely, or not any more.classWrapper class for Get Chassis Status request. -
Uses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.fru
Subclasses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.fruModifier and TypeClassDescriptionclassA wrapper class for Get FRU Inventory Area Info Command.classA wrapper class for Read FRU Data Command request. -
Uses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.payload
Subclasses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.payloadModifier and TypeClassDescriptionclassActivatePayload<R extends ActivatePayloadResponseData>An abstract wrapper class for Activate Payload Command.classConcrete implementation ofActivatePayloadcommand forPayloadType.SOL.classA wrapper class for Deactivate Payload Command.classA wrapper class for Get Channel Payload Support Command.classWrapper for Get Payload Activation Status Command.classWrapper for the Get Payload Instance Info command (IPMI 2.0 section 24.5): the session where an instance of a payload is active. -
Uses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.sdr
Subclasses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.sdrModifier and TypeClassDescriptionclassGet Device SDR (IPMI 2.0 section 35.3): reads a record of the SDRs a Sensor Device holds itself, for a controller without an SDR Repository.classGet Device SDR Info (IPMI 2.0 section 35.2): how many SDRs a Sensor Device holds itself, or how many sensors it implements at the LUN the request is addressed to.classWrapper for Get SDR command.classA wrapper class for Get SDR Repository Info Command.classWrapper for Get Sensor Reading request.classGet Sensor Reading Factors (IPMI 2.0 section 35.5): the factors that convert a given reading of a non-linear sensor.classReserve Device SDR Repository (IPMI 2.0 section 35.4): the reservation of the partial reads ofGetDeviceSdr.classWrapper for Reserve SDR Repository command. -
Uses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.sel
Subclasses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.selModifier and TypeClassDescriptionclassWrapper for Get Sel Entry requestclassWrapper class for Get SEL Info request.classWrapper for the Get SEL Time UTC Offset command (IPMI 2.0 revision 1.1, section 31.11a): the offset from UTC of the SEL time, for a BMC that keeps its SEL time as local time.classWrapper for Reserve SEL command. -
Uses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.session
Subclasses of PayloadCoder in org.metricshub.ipmi.core.coding.commands.sessionModifier and TypeClassDescriptionclassWrapper for Close Session requestclassWrapper for Get Channel Authentication Capabilities requestclassWrapper for RMCP+ Get Channel Cipher Suites command.classGet Session Info (IPMI 2.0 section 22.20), looking a session up by its session ID: what the BMC knows of it.classWrapper class for RMCP+ Open Session request.classA wrapper for RMCP+ RAKP1 message and it's response - RAKP2 message.classA wrapper for RMCP+ RAKP3 message and it's response - RAKP4 message.classWrapper class for Set Session Privilege Level command -
Uses of PayloadCoder in org.metricshub.ipmi.core.coding.sol
Subclasses of PayloadCoder in org.metricshub.ipmi.core.coding.solModifier and TypeClassDescriptionclassImplementation ofPayloadCoderfor payload typePayloadType.Sol. -
Uses of PayloadCoder in org.metricshub.ipmi.core.connection
Methods in org.metricshub.ipmi.core.connection with parameters of type PayloadCoderModifier and TypeMethodDescriptionintConnection.sendMessage(PayloadCoder payloadCoder, boolean isOneWay) Attempts to send IPMI request to the managed system.intMessageHandler.sendMessage(PayloadCoder payloadCoder, StateMachine stateMachine, int sessionId, boolean isOneWay) Attempts to send message encoded by givenPayloadCoderto the remote system. -
Uses of PayloadCoder in org.metricshub.ipmi.core.connection.queue
Methods in org.metricshub.ipmi.core.connection.queue that return PayloadCoderModifier and TypeMethodDescriptionQueueElement.getRequest()MessageQueue.retry(int tag) Returns the queued request with the given tag, which is about to be sent again, and restarts its timeout: the request moves to the end of the queue, which stays in the order of the timeouts, with its tag.Methods in org.metricshub.ipmi.core.connection.queue with parameters of type PayloadCoderModifier and TypeMethodDescriptionintMessageQueue.add(PayloadCoder request) Adds request to the queue and generates the tag.intMessageQueue.add(PayloadCoder request, boolean oneWay) Adds request to the queue and generates the tag.intMessageQueue.add(PayloadCoder request, boolean oneWay, int tag) Adds request to the queue under the given tag, when no other request holds it: a SOL packet sent again keeps its packet sequence number.voidQueueElement.setRequest(PayloadCoder request) Constructors in org.metricshub.ipmi.core.connection.queue with parameters of type PayloadCoder -
Uses of PayloadCoder in org.metricshub.ipmi.core.sm.events
Methods in org.metricshub.ipmi.core.sm.events that return PayloadCoderConstructors in org.metricshub.ipmi.core.sm.events with parameters of type PayloadCoderModifierConstructorDescriptionSendv20Message(PayloadCoder payloadCoder, int sessionId, int messageSequenceNumber, int sessionSequenceNumber) Prepares an event forStateMachinethat will perform sending an IPMI command in v2.0 format.