DLAPI 4.5.1.0
An API for controlling Aluma branded cameras
dl::INetEndpoint Class Referenceabstract

Abstract interface for a UDP/IP camera connection endpoint. More...

#include <dlapi.h>

Public Member Functions

virtual ~INetEndpoint ()
 
virtual const char * getIp () const =0
 Returns the device IP address string.
 
virtual const char * getNICIP () const =0
 Returns the local NIC IP address string.
 
virtual uint16_t getPort () const =0
 Returns the UDP port number.
 

Detailed Description

Abstract interface for a UDP/IP camera connection endpoint.

Extends IEndpoint with network-specific accessors and mutators. Safe to pass across DLL boundaries–all string-valued methods use C-style buffers.

Constructor & Destructor Documentation

◆ ~INetEndpoint()

virtual dl::INetEndpoint::~INetEndpoint ( )
inlinevirtual
423{}

Member Function Documentation

◆ getIp()

virtual const char * dl::INetEndpoint::getIp ( ) const
pure virtual

Returns the device IP address string.

Returns
Null-terminated IP address string. The lifetime of the returned pointer is managed by the implementing object.

◆ getNICIP()

virtual const char * dl::INetEndpoint::getNICIP ( ) const
pure virtual

Returns the local NIC IP address string.

Returns
Null-terminated NIC IP address string. The lifetime of the returned pointer is managed by the implementing object.

◆ getPort()

virtual uint16_t dl::INetEndpoint::getPort ( ) const
pure virtual

Returns the UDP port number.

Returns
uint16_t the port number.

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