joey shelton / LED_Demo

Dependencies:   MAX44000 PWM_Tone_Library nexpaq_mdk

Fork of LED_Demo by Maxim nexpaq

Embed: (wiki syntax)

« Back to documentation index

NetworkInterface Class Reference

NetworkInterface Class Reference

NetworkInterface class. More...

#include <NetworkInterface.h>

Inherited by CellularInterface, EthInterface, MeshInterface, and WiFiInterface.

Public Member Functions

virtual const char * get_ip_address ()=0
 Get the local IP address.

Protected Member Functions

virtual NetworkStackget_stack ()=0
 Provide access to the NetworkStack object.

Friends

class Socket
class UDPSocket
class TCPSocket
class TCPServer
class SocketAddress

Detailed Description

NetworkInterface class.

Common interface that is shared between network devices

Definition at line 28 of file NetworkInterface.h.


Member Function Documentation

virtual const char* get_ip_address (  ) [pure virtual]

Get the local IP address.

Returns:
Null-terminated representation of the local IP address or null if not yet connected

Implemented in EthernetInterface.

virtual NetworkStack* get_stack (  ) [protected, pure virtual]

Provide access to the NetworkStack object.

Returns:
The underlying NetworkStack object

Implemented in EthernetInterface.