Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/an-tao/trantor
/ functions
Functions
724 in github.com/an-tao/trantor
⨍
Functions
724
◇
Types & classes
141
Method
onTimer
trantor/net/inner/AresResolver.cc:157
Method
open
* Open file for append logs * Always write to file with base name. */
trantor/utils/AsyncFileLogger.cc:209
Function
operator!=
* @brief Return true if the time point is not equal to another. * */
trantor/utils/Date.h:120
Method
operator()
trantor/net/inner/TimerQueue.h:32
Function
operator<
* @brief Return true if the time point is earlier than another. * */
trantor/utils/Date.h:129
Method
operator<
trantor/net/inner/Timer.cc:56
Function
operator<=
* @brief Return true if the time point is not later than another. * */
trantor/utils/Date.h:156
Function
operator==
* @brief Return true if the time point is equal to another. * */
trantor/utils/Date.h:111
Function
operator>
* @brief Return true if the time point is later than another. * */
trantor/utils/Date.h:138
Method
operator>
trantor/net/inner/Timer.cc:60
Function
operator>=
* @brief Return true if the time point is not earlier than another. * */
trantor/utils/Date.h:147
Function
ownerLoop
* @brief Return the event loop. * * @return EventLoop* */
trantor/net/Channel.h:182
Method
peekInt16
trantor/utils/MsgBuffer.cc:112
Method
peekInt32
trantor/utils/MsgBuffer.cc:118
Method
peekInt64
trantor/utils/MsgBuffer.cc:124
Method
peerCertificate
trantor/net/inner/TcpConnectionImpl.h:172
Method
pem
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:281
Method
pem
trantor/net/inner/tlsprovider/BotanTLSProvider.cc:122
Method
poll
trantor/net/inner/poller/EpollPoller.cc:78
Method
poll
trantor/net/inner/poller/PollPoller.cc:41
Method
private_key_for
trantor/net/inner/tlsprovider/BotanTLSProvider.cc:91
Method
processApplicationData
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:683
Method
processHandshake
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:562
Method
queueFunc
trantor/utils/ConcurrentTaskQueue.cc:47
Method
read
trantor/utils/MsgBuffer.cc:175
Method
read
trantor/net/inner/Socket.cc:113
Method
readCallback
trantor/net/inner/Acceptor.cc:63
Method
readCallback
trantor/net/inner/TcpConnectionImpl.cc:128
Method
readInt16
trantor/utils/MsgBuffer.cc:189
Method
readInt32
trantor/utils/MsgBuffer.cc:195
Method
readInt64
trantor/utils/MsgBuffer.cc:201
Method
readInt8
trantor/utils/MsgBuffer.cc:183
Method
recvData
trantor/net/inner/tlsprovider/BotanTLSProvider.cc:171
Method
reloadSSL
trantor/net/TcpServer.cc:238
Method
remainingBytes
trantor/net/inner/AsyncStreamBufferNode.cc:18
Method
remainingBytes
trantor/net/inner/FileBufferNodeUnix.cc:120
Method
remainingBytes
trantor/net/inner/StreamBufferNode.cc:44
Method
remainingBytes
trantor/net/inner/FileBufferNodeWin.cc:137
Method
removeChannel
trantor/net/inner/poller/EpollPoller.cc:183
Method
removeChannel
trantor/net/inner/poller/KQueue.cc:151
Method
removeChannel
trantor/net/inner/poller/PollPoller.cc:129
Method
removeExcessSession
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:388
Method
require_cert_revocation_info
trantor/net/inner/tlsprovider/BotanTLSProvider.cc:143
Method
require_client_certificate_authentication
trantor/net/inner/tlsprovider/BotanTLSProvider.cc:148
Method
resetAfterFork
trantor/net/EventLoop.cc:113
Method
resetAfterFork
trantor/net/inner/Poller.h:46
Method
resetAfterFork
trantor/net/inner/poller/KQueue.cc:32
Function
resetBuffer
trantor/utils/LogStream.h:237
Method
resetTimerQueue
trantor/net/EventLoop.cc:106
Method
resolve
trantor/net/inner/AresResolver.h:33
Method
resolve
trantor/net/inner/NormalResolver.h:26
Method
restart
trantor/net/inner/Connector.cc:47
Method
retrieve
trantor/net/inner/AsyncStreamBufferNode.cc:41
Method
retrieve
trantor/net/inner/FileBufferNodeUnix.cc:110
Method
retrieve
trantor/net/inner/StreamBufferNode.cc:35
Method
retrieve
trantor/net/inner/FileBufferNodeWin.cc:130
Function
retrieveUntil
* @brief Remove the data before a certain position from the buffer. * * @param end The position. */
trantor/utils/MsgBuffer.h:283
Method
retry
trantor/net/inner/Connector.cc:275
Function
revents
* @brief Return the events that occurred on the socket. * * @return int */
trantor/net/Channel.h:145
Method
run
trantor/net/EventLoopThread.cc:72
Function
runAfter
* @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
Function
runEvery
* @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
Function
runInLoop
trantor/net/EventLoop.h:126
Method
runTaskInQueue
trantor/utils/ConcurrentTaskQueue.cc:33
Function
secondsSinceEpoch
* @brief Get the number of seconds since 1970-01-01 00:00. * * @return int64_t */
trantor/utils/Date.h:176
Function
secureRandomBytes
trantor/utils/Utilities.cc:345
Method
send
trantor/net/inner/TcpConnectionImpl.cc:860
Method
sendData
trantor/net/inner/tlsprovider/BotanTLSProvider.cc:217
Method
sendTLSData
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:731
Function
serverSelectProtocol
trantor/net/inner/tlsprovider/OpenSSLProvider.cc:113
Method
setAfterAcceptSockOptCallback
trantor/net/inner/Acceptor.h:51
Method
setApplicationProtocol
trantor/net/inner/TLSProvider.h:144
Method
setBeforeListenSockOptCallback
trantor/net/inner/Acceptor.h:46
Function
setCloseCallback
trantor/net/TcpConnection.h:346
Function
setCloseCallback
* @brief Set the close callback. * * @param cb The callback is called when the socket is closed. */
trantor/net/Channel.h:81
Function
setConnectionCallback
trantor/net/TcpConnection.h:330
Function
setConnectionCallback
* @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
Function
setConnectionCallback
* @brief Set the connection callback. * * @param cb The callback is called when a connection is established or * closed. */
trantor/net/TcpServer.h:139
Function
setConnectionErrorCallback
* @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
Function
setContext
* @brief Set the custom data on the connection. * * @param context */
trantor/net/TcpConnection.h:186
Function
setDisplayLocalTime
* @brief Set whether it shows local time or UTC time. the default is UTC. */
trantor/utils/Logger.h:172
Function
setErrorCallback
* @brief Set the error callback. * * @param cb The callback is called when an error occurs on the socket. */
trantor/net/Channel.h:95
Method
setErrorCallback
trantor/net/inner/TLSProvider.h:99
Function
setEventCallback
* @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
Function
setFileName
* @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
Function
setFileSizeLimit
* @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
Method
setHighWaterMarkCallback
virtual MsgBuffer* getSendBuffer() override{ return &writeBuffer_;} virtual MsgBuffer *getRecvBuffer() override { return &readBuffer_; } set callback
trantor/net/inner/TcpConnectionImpl.h:114
Function
setIndex
* @brief Set the index of the event loop. * * @param index */
trantor/net/EventLoop.h:261
Function
setIndex
trantor/net/Channel.h:297
Function
setIoLoopNum
* @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
Function
setIoLoopThreadPool
* @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
Function
setIoLoops
* @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
Function
setMaxFiles
* @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
Function
setMessageCallback
* @brief Set the message callback. * * @param cb The callback is called when some data is received from the * server. */
trantor/net/TcpClient.h:154
Method
setNewConnectionCallback
trantor/net/inner/Connector.h:35
Method
setNonBlockAndCloseOnExec
taken from muduo
trantor/net/inner/Socket.h:129
Method
setPeerCertificate
trantor/net/inner/TLSProvider.h:139
Function
setPortNetEndian
* @brief Set the port number in net endian byte order. * * @param port */
trantor/net/InetAddress.h:216
Function
setReadCallback
* @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
Function
setRecvMessageCallback
* @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
← previous
next →
501–600 of 724, ranked by callers