Home | History | Annotate | Download | only in base

Lines Matching refs:Port

76 class Port : public talk_base::MessageHandler, public sigslot::has_slots<> {
78 Port(talk_base::Thread* thread, const std::string& type,
81 virtual ~Port();
83 // The thread on which this port performs its I/O.
86 // The factory used to create the sockets of this port.
92 // Each port is identified by a name (for debugging purposes).
96 // In order to establish a connection to this Port (so that real data can be
111 // A value in [0,1] that indicates the preference for this port versus other
116 // Identifies the port type.
119 // Identifies network that this port was allocated on.
122 // Identifies the generation that this port was created in.
126 // PrepareAddress will attempt to get an address for this port that other
129 // preventing the port from getting an address, it may send
132 sigslot::signal1<Port*> SignalAddressReady;
133 sigslot::signal1<Port*> SignalAddressError;
138 // Returns a map containing all of the connections of this port, keyed by the
152 sigslot::signal2<Port*, Connection*> SignalConnectionCreated;
163 sigslot::signal4<Port*, const talk_base::SocketAddress&, StunMessage*,
176 sigslot::signal2<Port*, int> SignalReadError;
177 sigslot::signal2<Port*, int> SignalWriteError;
194 // through this port.
196 sigslot::signal4<Port*, const char*, size_t, const talk_base::SocketAddress&>
199 // Indicates to the port that its official use has now begun. This will
200 // start the timer that checks to see if the port is being used.
203 // Called if the port has no connections and is no longer useful.
206 // Signaled when this port decides to delete itself because it no longer has
208 sigslot::signal1<Port*> SignalDestroyed;
212 // Debugging description of this port
216 // Fills in the local address of the port.
232 // with this port's username fragment, msg will contain the parsed STUN
261 // Checks if this port is useless, and hence, should be destroyed.
271 // Represents a communication link between a port on the local client and a
272 // port on the remote client.
278 // The local port where this connection sends and receives packets.
279 Port* port() { return port_; }
280 const Port* port() const { return port_; }
282 // Returns the description of the local port
285 // Returns the description of the remote port to which we communicate.
362 // Constructs a new connection to the given remote port.
363 Connection(Port* port, size_t index, const Candidate& candidate);
385 Port* port_;
406 friend class Port;
410 // ProxyConnection defers all the interesting work to the port
413 ProxyConnection(Port* port, size_t index, const Candidate& candidate);