SOME/IP Response Message Handler

SOME/IP This class handles SOME/IP response messages specifically. It validates that the message type is RESPONSE and provides response-specific functionality, including the ability to create responses from requests.

Hierarchy

  • SomeipMessageBase
    • SomeipMessageResponse

Constructors

Properties

Methods

Constructors

  • Creates a new SOME/IP response message instance

    Parameters

    • msg: SomeipMessage

      The SOME/IP message data (must be of type RESPONSE)

    Returns SomeipMessageResponse

    If the message type is not RESPONSE

Properties

msg: SomeipMessage

The SOME/IP message data (must be of type RESPONSE)

Methods

  • Parameters

    • payload: Buffer

    Returns void

  • Creates a SOME/IP response message from a request message

    This static method takes a request message and creates a corresponding response message by copying the request data and changing the message type to RESPONSE.

    Parameters

    • request: SomeipMessageRequest

      The SOME/IP request message to create a response from

    • payload: Buffer = ...

    Returns SomeipMessageResponse

    A new SomeipMessageResponse instance based on the request