cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
Loading...
Searching...
No Matches
msgpack_rpc::messages::ParsedNotification Class Reference

Class of parsed notification. More...

#include <msgpack_rpc/messages/parsed_notification.h>

Collaboration diagram for msgpack_rpc::messages::ParsedNotification:

Public Member Functions

 ParsedNotification (MethodNameView method_name, ParsedParameters parameters)
 Constructor.
MethodNameView method_name () const noexcept
 Get the method name.
const ParsedParametersparameters () const noexcept
 Get the parameters.

Private Attributes

MethodNameView method_name_
 Method name.
ParsedParameters parameters_
 Parameters.

Detailed Description

Class of parsed notification.

Definition at line 32 of file parsed_notification.h.

Constructor & Destructor Documentation

◆ ParsedNotification()

msgpack_rpc::messages::ParsedNotification::ParsedNotification ( MethodNameView method_name,
ParsedParameters parameters )
inline

Constructor.

Parameters
[in]method_nameMethod name.
[in]parametersParameters.

Definition at line 40 of file parsed_notification.h.

Member Function Documentation

◆ method_name()

MethodNameView msgpack_rpc::messages::ParsedNotification::method_name ( ) const
inlinenodiscardnoexcept

Get the method name.

Returns
Method name.

Definition at line 48 of file parsed_notification.h.

◆ parameters()

const ParsedParameters & msgpack_rpc::messages::ParsedNotification::parameters ( ) const
inlinenodiscardnoexcept

Get the parameters.

Returns
Parameters.

Definition at line 57 of file parsed_notification.h.

Member Data Documentation

◆ method_name_

MethodNameView msgpack_rpc::messages::ParsedNotification::method_name_
private

Method name.

Definition at line 63 of file parsed_notification.h.

◆ parameters_

ParsedParameters msgpack_rpc::messages::ParsedNotification::parameters_
private

Parameters.

Definition at line 66 of file parsed_notification.h.


The documentation for this class was generated from the following file: