PeerPoolMgr.h
void handleSecuredPeer(Security::EncryptorAnswer &answer)
Security::PeerConnector callback.
Definition: PeerPoolMgr.cc:145
Maintains an fixed-size "standby" PconnPool for a single CachePeer.
Definition: PeerPoolMgr.h:22
Definition: AsyncJob.h:32
Definition: EncryptorAnswer.h:22
void handleOpenedConnection(const CommConnectCbParams ¶ms)
Comm::ConnOpener calls this when done opening a connection for us.
Definition: PeerPoolMgr.cc:91
Definition: CachePeer.h:28
CBDATA_CLASS(PeerPoolMgr)
Definition: HttpRequest.h:49
bool validPeer() const
whether the peer is still out there and in a valid state we can safely use
Definition: PeerPoolMgr.cc:79
Definition: CommCalls.h:110
void openNewConnection()
starts the process of opening a new standby connection (if possible)
Definition: PeerPoolMgr.cc:189
Definition: CommCalls.h:133
void pushNewConnection(const Comm::ConnectionPointer &conn)
the final step in connection opening (and, optionally, securing) sequence
Definition: PeerPoolMgr.cc:136
static void Checkpoint(const Pointer &mgr, const char *reason)
Definition: PeerPoolMgr.cc:261
void closeOldConnections(const int howMany)
closes 'howMany' standby connections
Definition: PeerPoolMgr.cc:236
void handleSecureClosure(const CommCloseCbParams ¶ms)
called when the connection we are trying to secure is closed by a 3rd party
Definition: PeerPoolMgr.cc:177