Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
NetService Class Reference
Net Service base class. More...
#include <netservice.h>
Inherited by NetDnsRequest, and NetDnsRequest.
Public Member Functions | |
NetService (bool owned=true) | |
Instantiates a new service. | |
virtual void | poll () |
This method can be inherited so that it is called on each Net::poll() call. | |
NetService (bool owned=true) | |
Instantiates a new service. | |
virtual void | poll () |
This method can be inherited so that it is called on each Net::poll() call. | |
Protected Member Functions | |
void | close () |
This flags the service as to be destructed if owned by the pool. | |
void | close () |
This flags the service as to be destructed if owned by the pool. |
Detailed Description
Net Service base class.
Each connection-oriented object can register as service (by inheriting this class), so that it is polled regularly. It notifies the pool when the connection is terminated so that it can be destroyed.
Definition at line 39 of file LPC1768/core/netservice.h.
Constructor & Destructor Documentation
NetService | ( | bool | owned = true ) |
Instantiates a new service.
- Parameters:
-
owned If true the object is owned by the pool and will be destroyed on closure.
NetService | ( | bool | owned = true ) |
Instantiates a new service.
- Parameters:
-
owned If true the object is owned by the pool and will be destroyed on closure.
Member Function Documentation
void close | ( | ) | [protected] |
This flags the service as to be destructed if owned by the pool.
void close | ( | ) | [protected] |
This flags the service as to be destructed if owned by the pool.
virtual void poll | ( | ) | [virtual] |
This method can be inherited so that it is called on each Net::poll() call.
virtual void poll | ( | ) | [virtual] |
This method can be inherited so that it is called on each Net::poll() call.
Generated on Tue Jul 12 2022 23:12:29 by
