MCPcopy Create free account
hub / github.com/F-Stack/f-stack / connSetReadHandler

Function connSetReadHandler

app/redis-6.2.6/src/connection.h:165–167  ·  view source on GitHub ↗

Register a read handler, to be called when the connection is readable. * If NULL, the existing handler is removed. */

Source from the content-addressed store, hash-verified

163 * If NULL, the existing handler is removed.
164 */
165static inline int connSetReadHandler(connection *conn, ConnectionCallbackFunc func) {
166 return conn->type->set_read_handler(conn, func);
167}
168
169/* Set a write handler, and possibly enable a write barrier, this flag is
170 * cleared when write handler is changed or removed.

Callers 10

readSyncBulkPayloadFunction · 0.85
syncWithMasterFunction · 0.85
createClientFunction · 0.85
protectClientFunction · 0.85
unprotectClientFunction · 0.85
clusterConnAcceptHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected