RTI Connext DDS Micro C API  Version 4.1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
netio_interface.h File Reference

Generic NETIO_Interface functions. More...

#include "netio/netio_config.h"
#include "netio/netio_dll.h"
#include "osapi/osapi_config.h"
#include "osapi/osapi_types.h"
#include "osapi/osapi_time.h"
#include "reda/reda_sequenceNumber.h"
#include "db/db_api.h"
#include "rt/rt_rt.h"
#include "netio/netio_address.h"
#include "cdr/cdr_stream.h"
#include "netio_sample_access.h"

Data Structures

struct  NETIO_Packet
 Implementation of the abstract NETIO_Packet type. More...
struct  NETIO_Interface
 Base-class definition for all NETIO interfaces. More...
struct  NETIO_InterfaceI

Macros

#define NETIO_Interface_receive(self_, src_, dst_, p_)
 <<eXtension>> <<cert>> Call receive on a NETIO_Interface.

Typedefs

typedef struct NETIO_Packet NETIO_Packet_T
 A NETIO Packet.
typedef struct NETIO_Interface NETIO_Interface_T
typedef RTI_BOOL(* NETIO_Interface_sendFunc )(NETIO_Interface_T *self, struct NETIO_Interface *source, struct NETIO_Address *destination, NETIO_Packet_T *packet)
 Definition of the NETIO_InterfaceI send method.
typedef RTI_BOOL(* NETIO_Interface_receiveFunc )(NETIO_Interface_T *netio_intf, struct NETIO_Address *src_addr, struct NETIO_Address *dst_addr, NETIO_Packet_T *packet)
 Definition of the NETIO_InterfaceI receive method.
typedef RTI_BOOL(* NETIO_Interface_reserve_addressFunc )(NETIO_Interface_T *self, struct NETIO_AddressSeq *req_address, struct NETIO_AddressSeq *rsvd_address, struct NETIOBindProperty *property)
 <<eXtension>> <<cert>> Definition of the NETIO_InterfaceI reserve_address method
typedef RTI_BOOL(* NETIO_Interface_release_addressFunc )(NETIO_Interface_T *self, struct NETIO_Address *src_addr)
 <<eXtension>> <<cert>> Definition of the NETIO_InterfaceI release_address method
typedef RTI_BOOL(* NETIO_Interface_resolve_addressFunc )(NETIO_Interface_T *netio_intf, const char *address_string, struct NETIO_Address *address_value, RTI_BOOL *invalid)
 Resolve an address of a user interface.
typedef RTI_BOOL(* NETIO_Interface_get_route_tableFunc )(NETIO_Interface_T *netio_intf, struct NETIO_AddressSeq *address, struct NETIO_NetmaskSeq *netmask)
 Get the route table.

Functions

void * NETIO_Packet_get_head (const NETIO_Packet_T *const packet)
 Get a pointer to the current head.
RTI_BOOL NETIO_Packet_set_payload (NETIO_Packet_T *const packet, void *buffer, RTI_INT32 buffer_length)
 Initialize a packet with a payload.
RTI_SIZE_T NETIO_Packet_get_payload_length (const NETIO_Packet_T *const packet)
 Get the length the packet payload.

Variables

const char *const NETIO_DEFAULT_UDP_NAME
 Default name for the automatically registered UDP transport.
const char *const NETIO_DEFAULT_INTRA_NAME
 Default name for the automatically registered INTRA transport.
const char *const NETIO_DEFAULT_SHMEM_NAME
 Default name for the automatically registered shared memory transport.
const char *const NETIO_DEFAULT_RTPS_NAME
 Default name for the automatically registered RTPS interface.

Detailed Description

Generic NETIO_Interface functions.

This file contains generic NETIO interface functions. A NETIO_Interface is a base-class and is typically not instantiated on its own. Derived classes call methods here to initialize/finalize a base-class. This file also defines the NETIO interface structure as well as the NETIO_Packet structure and protocol types.


Variable Documentation

const char* const NETIO_DEFAULT_UDP_NAME

Default name for the automatically registered UDP transport.

const char* const NETIO_DEFAULT_INTRA_NAME

Default name for the automatically registered INTRA transport.

const char* const NETIO_DEFAULT_SHMEM_NAME

Default name for the automatically registered shared memory transport.

const char* const NETIO_DEFAULT_RTPS_NAME

Default name for the automatically registered RTPS interface.


RTI Connext DDS Micro C API Version 4.1.0 Copyright © Sun Dec 8 2024 Real-Time Innovations, Inc