MCPcopy Create free account

hub / github.com/an-tao/trantor / functions

Functions724 in github.com/an-tao/trantor

MethodonTimer
trantor/net/inner/AresResolver.cc:157
Methodopen
* Open file for append logs * Always write to file with base name. */
trantor/utils/AsyncFileLogger.cc:209
Functionoperator!=
* @brief Return true if the time point is not equal to another. * */
trantor/utils/Date.h:120
Methodoperator()
trantor/net/inner/TimerQueue.h:32
Functionoperator<
* @brief Return true if the time point is earlier than another. * */
trantor/utils/Date.h:129
Methodoperator<
trantor/net/inner/Timer.cc:56
Functionoperator<=
* @brief Return true if the time point is not later than another. * */
trantor/utils/Date.h:156
Functionoperator==
* @brief Return true if the time point is equal to another. * */
trantor/utils/Date.h:111
Functionoperator>
* @brief Return true if the time point is later than another. * */
trantor/utils/Date.h:138
Methodoperator>
trantor/net/inner/Timer.cc:60
Functionoperator>=
* @brief Return true if the time point is not earlier than another. * */
trantor/utils/Date.h:147
FunctionownerLoop
* @brief Return the event loop. * * @return EventLoop* */
trantor/net/Channel.h:182
MethodpeekInt16
trantor/utils/MsgBuffer.cc:112
MethodpeekInt32
trantor/utils/MsgBuffer.cc:118
MethodpeekInt64
trantor/utils/MsgBuffer.cc:124
MethodpeerCertificate
trantor/net/inner/TcpConnectionImpl.h:172
Methodpem
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:281
Methodpem
trantor/net/inner/tlsprovider/BotanTLSProvider.cc:122
Methodpoll
trantor/net/inner/poller/EpollPoller.cc:78
Methodpoll
trantor/net/inner/poller/PollPoller.cc:41
Methodprivate_key_for
trantor/net/inner/tlsprovider/BotanTLSProvider.cc:91
MethodprocessApplicationData
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:683
MethodprocessHandshake
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:562
MethodqueueFunc
trantor/utils/ConcurrentTaskQueue.cc:47
Methodread
trantor/utils/MsgBuffer.cc:175
Methodread
trantor/net/inner/Socket.cc:113
MethodreadCallback
trantor/net/inner/Acceptor.cc:63
MethodreadCallback
trantor/net/inner/TcpConnectionImpl.cc:128
MethodreadInt16
trantor/utils/MsgBuffer.cc:189
MethodreadInt32
trantor/utils/MsgBuffer.cc:195
MethodreadInt64
trantor/utils/MsgBuffer.cc:201
MethodreadInt8
trantor/utils/MsgBuffer.cc:183
MethodrecvData
trantor/net/inner/tlsprovider/BotanTLSProvider.cc:171
MethodreloadSSL
trantor/net/TcpServer.cc:238
MethodremainingBytes
trantor/net/inner/AsyncStreamBufferNode.cc:18
MethodremainingBytes
trantor/net/inner/FileBufferNodeUnix.cc:120
MethodremainingBytes
trantor/net/inner/StreamBufferNode.cc:44
MethodremainingBytes
trantor/net/inner/FileBufferNodeWin.cc:137
MethodremoveChannel
trantor/net/inner/poller/EpollPoller.cc:183
MethodremoveChannel
trantor/net/inner/poller/KQueue.cc:151
MethodremoveChannel
trantor/net/inner/poller/PollPoller.cc:129
MethodremoveExcessSession
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:388
Methodrequire_cert_revocation_info
trantor/net/inner/tlsprovider/BotanTLSProvider.cc:143
Methodrequire_client_certificate_authentication
trantor/net/inner/tlsprovider/BotanTLSProvider.cc:148
MethodresetAfterFork
trantor/net/EventLoop.cc:113
MethodresetAfterFork
trantor/net/inner/Poller.h:46
MethodresetAfterFork
trantor/net/inner/poller/KQueue.cc:32
FunctionresetBuffer
trantor/utils/LogStream.h:237
MethodresetTimerQueue
trantor/net/EventLoop.cc:106
Methodresolve
trantor/net/inner/AresResolver.h:33
Methodresolve
trantor/net/inner/NormalResolver.h:26
Methodrestart
trantor/net/inner/Connector.cc:47
Methodretrieve
trantor/net/inner/AsyncStreamBufferNode.cc:41
Methodretrieve
trantor/net/inner/FileBufferNodeUnix.cc:110
Methodretrieve
trantor/net/inner/StreamBufferNode.cc:35
Methodretrieve
trantor/net/inner/FileBufferNodeWin.cc:130
FunctionretrieveUntil
* @brief Remove the data before a certain position from the buffer. * * @param end The position. */
trantor/utils/MsgBuffer.h:283
Methodretry
trantor/net/inner/Connector.cc:275
Functionrevents
* @brief Return the events that occurred on the socket. * * @return int */
trantor/net/Channel.h:145
Methodrun
trantor/net/EventLoopThread.cc:72
FunctionrunAfter
* @brief Run a function after a period of time. * @note Users could use chrono literals to represent a time duration * For example: * @
trantor/net/EventLoop.h:178
FunctionrunEvery
* @brief Repeatedly run a function every period of time. * Users could use chrono literals to represent a time duration * For example:
trantor/net/EventLoop.h:207
FunctionrunInLoop
trantor/net/EventLoop.h:126
MethodrunTaskInQueue
trantor/utils/ConcurrentTaskQueue.cc:33
FunctionsecondsSinceEpoch
* @brief Get the number of seconds since 1970-01-01 00:00. * * @return int64_t */
trantor/utils/Date.h:176
FunctionsecureRandomBytes
trantor/utils/Utilities.cc:345
Methodsend
trantor/net/inner/TcpConnectionImpl.cc:860
MethodsendData
trantor/net/inner/tlsprovider/BotanTLSProvider.cc:217
MethodsendTLSData
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:731
FunctionserverSelectProtocol
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:113
MethodsetAfterAcceptSockOptCallback
trantor/net/inner/Acceptor.h:51
MethodsetApplicationProtocol
trantor/net/inner/TLSProvider.h:144
MethodsetBeforeListenSockOptCallback
trantor/net/inner/Acceptor.h:46
FunctionsetCloseCallback
trantor/net/TcpConnection.h:346
FunctionsetCloseCallback
* @brief Set the close callback. * * @param cb The callback is called when the socket is closed. */
trantor/net/Channel.h:81
FunctionsetConnectionCallback
trantor/net/TcpConnection.h:330
FunctionsetConnectionCallback
* @brief Set the connection callback. * * @param cb The callback is called when the connection to the server is * established or closed
trantor/net/TcpClient.h:128
FunctionsetConnectionCallback
* @brief Set the connection callback. * * @param cb The callback is called when a connection is established or * closed. */
trantor/net/TcpServer.h:139
FunctionsetConnectionErrorCallback
* @brief Set the connection error callback. * * @param cb The callback is called when an error occurs during connecting * to the server
trantor/net/TcpClient.h:143
FunctionsetContext
* @brief Set the custom data on the connection. * * @param context */
trantor/net/TcpConnection.h:186
FunctionsetDisplayLocalTime
* @brief Set whether it shows local time or UTC time. the default is UTC. */
trantor/utils/Logger.h:172
FunctionsetErrorCallback
* @brief Set the error callback. * * @param cb The callback is called when an error occurs on the socket. */
trantor/net/Channel.h:95
MethodsetErrorCallback
trantor/net/inner/TLSProvider.h:99
FunctionsetEventCallback
* @brief Set the event callback. * * @param cb The callback is called when any event occurs on the socket. * @note If the event callbac
trantor/net/Channel.h:111
FunctionsetFileName
* @brief Set the log file name. * * @param baseName The base name of the log file. * @param extName The extended name of the log file.
trantor/utils/AsyncFileLogger.h:102
FunctionsetFileSizeLimit
* @brief Set the size limit of log files. When the log file size reaches * the limit, the log file is switched. * * @param limit *
trantor/utils/AsyncFileLogger.h:67
MethodsetHighWaterMarkCallback
virtual MsgBuffer* getSendBuffer() override{ return &writeBuffer_;} virtual MsgBuffer *getRecvBuffer() override { return &readBuffer_; } set callback
trantor/net/inner/TcpConnectionImpl.h:114
FunctionsetIndex
* @brief Set the index of the event loop. * * @param index */
trantor/net/EventLoop.h:261
FunctionsetIndex
trantor/net/Channel.h:297
FunctionsetIoLoopNum
* @brief Set the number of event loops in which the I/O of connections to * the server is handled. * An EventLoopThreadPool is created and m
trantor/net/TcpServer.h:75
FunctionsetIoLoopThreadPool
* @brief Set the event loops pool in which the I/O of connections to * the server is handled. * A shared_ptr of EventLoopThreadPool is copie
trantor/net/TcpServer.h:91
FunctionsetIoLoops
* @brief Set the event loops in which the I/O of connections to * the server is handled. * The loops are managed by caller. Caller should en
trantor/net/TcpServer.h:109
FunctionsetMaxFiles
* @brief Set the max number of log files. When the number exceeds the * limit, the oldest log file will be deleted. * * @param maxFiles
trantor/utils/AsyncFileLogger.h:78
FunctionsetMessageCallback
* @brief Set the message callback. * * @param cb The callback is called when some data is received from the * server. */
trantor/net/TcpClient.h:154
MethodsetNewConnectionCallback
trantor/net/inner/Connector.h:35
MethodsetNonBlockAndCloseOnExec
taken from muduo
trantor/net/inner/Socket.h:129
MethodsetPeerCertificate
trantor/net/inner/TLSProvider.h:139
FunctionsetPortNetEndian
* @brief Set the port number in net endian byte order. * * @param port */
trantor/net/InetAddress.h:216
FunctionsetReadCallback
* @brief Set the read callback. * * @param cb The callback is called when read event occurs on the socket. * @note One should call the
trantor/net/Channel.h:51
FunctionsetRecvMessageCallback
* @brief Set the message callback. * * @param cb The callback is called when some data is received on a * connection to the server.
trantor/net/TcpServer.h:124
← previousnext →501–600 of 724, ranked by callers