Note that it is not possible to construct a NetConnectionIterator (since nothing good could happen with it), so this must be initialized with a reference, e.g.,.
More...
Note that it is not possible to construct a NetConnectionIterator (since nothing good could happen with it), so this must be initialized with a reference, e.g.,.
NetConnectionIterator& client = server->newConnectionIterator();
- See also
- NetServer::newConnectionIterator
◆ NetConnectionIterator()
| G3D::NetConnectionIterator::NetConnectionIterator |
( |
| ) |
|
|
inlineprotected |
◆ connection()
| shared_ptr<NetConnection> G3D::NetConnectionIterator::connection |
( |
| ) |
|
Connection to this client.
◆ isValid()
| bool G3D::NetConnectionIterator::isValid |
( |
| ) |
const |
If the network conncetion is valid.
◆ operator++()
Advance to the next connection.
◆ NetServer
◆ m_queue
◆ m_server
| weak_ptr<NetServer> G3D::NetConnectionIterator::m_server |
|
protected |