#include <portlist.h>
- Author
- Joris Guisson joris.nosp@m..gui.nosp@m.sson@.nosp@m.gmai.nosp@m.l.com
List of ports which are currently being used.
Definition at line 75 of file portlist.h.
◆ addNewPort()
void net::PortList::addNewPort |
( |
bt::Uint16 |
number, |
|
|
Protocol |
proto, |
|
|
bool |
forward |
|
) |
| |
When a port is in use, this function needs to be called.
- Parameters
-
number | Port number |
proto | Protocol |
forward | Whether or not it needs to be forwarded |
◆ removePort()
void net::PortList::removePort |
( |
bt::Uint16 |
number, |
|
|
Protocol |
proto |
|
) |
| |
Needs to be called when a port is not being using anymore.
- Parameters
-
number | Port number |
proto | Protocol |
◆ setListener()
Set the port listener.
- Parameters
-
Definition at line 101 of file portlist.h.
The documentation for this class was generated from the following file: