ConnectionIPtr IceInternal::FixedReference::getConnection(bool& compress) const { vector<ConnectionIPtr> filteredConns = filterConnections(_fixedConnections); if(filteredConns.empty()) { NoEndpointException ex(__FILE__, __LINE__); ex.proxy = ""; // No stringified representation for fixed proxies throw ex; } ConnectionIPtr connection = filteredConns[0]; assert(connection); connection->throwException(); // Throw in case our connection is already destroyed. compress = connection->endpoint()->compress(); return connection; }
bool operator()(ConnectionIPtr p) const { return p->endpoint()->secure(); }
bool operator()(ConnectionIPtr p) const { return p->endpoint()->datagram(); }