NetworkUdpInterface Class Reference

#include <network_ip_udp.h>

Detailed Description

Static interface to create UDP entities.

Static Public Member Functions

static MAXON_METHOD Result< NetworkUdpChannelRef > CreateUdpChannel (const NetworkUdpChannelOptions &initOptions, const NetworkIpAddrPort &address, const AioServiceRef &ioService, const JobQueueRef &jobQueue=JOBQUEUE_CURRENT)
 
static MAXON_FUNCTION Result< NetworkUdpChannelRef > CreateUdpChannel (const NetworkIpAddrPort &address, const AioServiceRef &ioService, const JobQueueRef &jobQueue=JOBQUEUE_CURRENT)
 
static MAXON_METHOD Result< NetworkUdpSenderRef > CreateUdpSender (const NetworkUdpSenderOptions &initOptions, PROTOCOL protocol, const AioServiceRef &ioService, const JobQueueRef &jobQueue=JOBQUEUE_CURRENT)
 
static MAXON_FUNCTION Result< NetworkUdpSenderRef > CreateUdpSender (PROTOCOL protocol, const AioServiceRef &ioService, const JobQueueRef &jobQueue=JOBQUEUE_CURRENT)
 
static MAXON_METHOD Result< NetworkUdpServerRef > CreateUdpServer (const NetworkUdpServerOptions &initOptions, const NetworkIpAddrPort &address, NetworkUdpServerInterface::ReceiveCompletionHandler handler, const AioServiceRef &ioService, const JobQueueRef &jobQueue=JOBQUEUE_CURRENT)
 
static MAXON_FUNCTION Result< NetworkUdpServerRef > CreateUdpServer (const NetworkIpAddrPort &address, NetworkUdpServerInterface::ReceiveCompletionHandler handler, const AioServiceRef &ioService, const JobQueueRef &jobQueue=JOBQUEUE_CURRENT)
 

Private Member Functions

 MAXON_INTERFACE_NONVIRTUAL (NetworkUdpInterface, MAXON_REFERENCE_NONE, "net.maxon.interface.networkudp")
 

Member Function Documentation

◆ MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( NetworkUdpInterface  ,
MAXON_REFERENCE_NONE  ,
"net.maxon.interface.networkudp"   
)
private

◆ CreateUdpChannel() [1/2]

static MAXON_METHOD Result<NetworkUdpChannelRef> CreateUdpChannel ( const NetworkUdpChannelOptions initOptions,
const NetworkIpAddrPort address,
const AioServiceRef &  ioService,
const JobQueueRef jobQueue = JOBQUEUE_CURRENT 
)
static

Creates a new UDP channel.

◆ CreateUdpChannel() [2/2]

Result< NetworkUdpChannelRef > CreateUdpChannel ( const NetworkIpAddrPort address,
const AioServiceRef &  ioService,
const JobQueueRef jobQueue = JOBQUEUE_CURRENT 
)
static

◆ CreateUdpSender() [1/2]

static MAXON_METHOD Result<NetworkUdpSenderRef> CreateUdpSender ( const NetworkUdpSenderOptions initOptions,
PROTOCOL  protocol,
const AioServiceRef &  ioService,
const JobQueueRef jobQueue = JOBQUEUE_CURRENT 
)
static

Creates a new UDP sender.

◆ CreateUdpSender() [2/2]

Result< NetworkUdpSenderRef > CreateUdpSender ( PROTOCOL  protocol,
const AioServiceRef &  ioService,
const JobQueueRef jobQueue = JOBQUEUE_CURRENT 
)
static

◆ CreateUdpServer() [1/2]

static MAXON_METHOD Result<NetworkUdpServerRef> CreateUdpServer ( const NetworkUdpServerOptions initOptions,
const NetworkIpAddrPort address,
NetworkUdpServerInterface::ReceiveCompletionHandler  handler,
const AioServiceRef &  ioService,
const JobQueueRef jobQueue = JOBQUEUE_CURRENT 
)
static

Creates a new UDP server.

◆ CreateUdpServer() [2/2]

Result< NetworkUdpServerRef > CreateUdpServer ( const NetworkIpAddrPort address,
NetworkUdpServerInterface::ReceiveCompletionHandler  handler,
const AioServiceRef &  ioService,
const JobQueueRef jobQueue = JOBQUEUE_CURRENT 
)
static