PLCnext API Documentation 25.0.2.69
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Arp::Io::Interbus::Services::NegativeInitiateResult Class Reference

Result of an unsuccessful PcpInitiate service More...

#include <NegativeInitiateResult.hpp>

Inheritance diagram for Arp::Io::Interbus::Services::NegativeInitiateResult:
Inheritance graph

Public Member Functions

 NegativeInitiateResult (void)
 Constructs an NegativeInitiateResult instance.
 
 NegativeInitiateResult (uint16 sendBufferSize, uint16 receiveBufferSize, const std::vector< byte > &serviceSupported)
 Constructs an NegativeInitiateResult instance.
 
void Serialize (RscWriter &writer) const
 Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More...
 
void Deserialize (RscReader &reader)
 Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More...
 
- Public Member Functions inherited from Arp::Base::Rsc::Commons::RscSerializable
 RscSerializable (void)=default
 The default constructor.
 

Static Public Member Functions

static size_t GetFieldCount (void)
 Returns the count of fields More...
 

Public Attributes

uint16 SendBufferSize = 0
 Send buffer size of remote device
 
uint16 ReceiveBufferSize = 0
 Receive buffer size of remote device
 
std::vector< byte > ServiceSupported
 Coding of supported services
 

Detailed Description

Result of an unsuccessful PcpInitiate service

Member Function Documentation

◆ Deserialize()

void Arp::Io::Interbus::Services::NegativeInitiateResult::Deserialize ( RscReader reader)

Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.

Parameters
readerReference to RscReader.

◆ GetFieldCount()

size_t Arp::Io::Interbus::Services::NegativeInitiateResult::GetFieldCount ( void  )
static

Returns the count of fields

Returns
Count of fields.

The field count is used for serialization via Rsc

◆ Serialize()

void Arp::Io::Interbus::Services::NegativeInitiateResult::Serialize ( RscWriter writer) const

Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.

Parameters
writerReference to RscWriter

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