Maintains a current integer assigned to a name (connections).
More...
#include <connection_collection.h>
Maintains a current integer assigned to a name (connections).
Definition at line 15 of file connection_collection.h.
◆ Connection
◆ AquireConnection()
◆ CleanupConnection()
- Returns
- the name of the channel when cleanup is successful, otherwise the empty string.
Definition at line 18 of file connection_collection.mm.
21 for (
auto& keyValue : connections_) {
22 if (keyValue.second == connection) {
23 channel = keyValue.first;
27 if (channel.length() > 0) {
28 connections_.erase(channel);
◆ IsValidConnection()
◆ MakeErrorConnection()
◆ kInvalidConnection
const Connection flutter::ConnectionCollection::kInvalidConnection = 0 |
|
static |
The documentation for this class was generated from the following files: