Bredbandskollen CLI  1.2
Asynchronous network task engine
SocketReceiver Member List

This is the complete list of members for SocketReceiver, including all inherited members.

cacheLabel() overrideServerSocketinlinevirtual
checkReadBlock()Socketinlineprotectedvirtual
closeMe()Socketinlineprotected
closeSocket(int fd)Socketprotectedstatic
createHashKey(unsigned int length=20)Loggerstatic
createNonBlockingSocket(struct addrinfo *addressEntry, struct addrinfo *localAddr=nullptr)Socketprotected
dateString(time_t t=0)Loggerstatic
dateString2(time_t t=0)Loggerstatic
dbg_log() constLoggerinlineprotected
err_log(const std::string &label)Loggerinlinestatic
err_log() constLoggerinlineprotected
errno_log() constLoggerprotected
flushLogFile()Loggerinlinestatic
getAddressInfo(uint16_t iptype=0)Socket
getIp(int fd, uint16_t *port=nullptr, bool peer=true)Socketstatic
getIp(struct sockaddr *address, uint16_t *port=nullptr)Socketstatic
getIp(struct addrinfo *address, uint16_t *port=nullptr)Socketstatic
getUnixDomainPeer() constSocketinline
hasExpired(const TimePoint &when) constSocketinline
Logger::hasExpired(const TimePoint &t)Loggerinlinestatic
hostname() constSocketinline
id() constSocketinline
incoming() overrideSocketReceivervirtual
inError() constSocketinlineprotected
Logger::inError()Loggerinlinestatic
isTempError()Socketinlineprotectedstatic
label() constLoggerinline
localIp() constSocketinline
log(const std::string &label)Loggerinlinestatic
log() constLoggerinlineprotected
Logger(std::string label)Loggerinline
msSince(const TimePoint &t)Loggerstatic
msTo(const TimePoint &t)Loggerstatic
owner() constSocketinline
passMessageToPeer(const char *buf, size_t len)SocketReceiver
passSocketToPeer(int fd)SocketReceiver
pauseLogging()Loggerinlinestatic
peerDead()SocketReceiverinline
peerPid() constSocketReceiverinline
port() constSocketinline
reopenLogFile(const std::string &filename)Loggerstatic
resetLabel(const std::string &new_label)Loggerinline
sayTime(std::ostream &stream)Loggerstatic
secondsSince(const TimePoint &t)Loggerstatic
secondsTo(const TimePoint &t)Loggerstatic
ServerSocket(const std::string &label, Task *task, uint16_t port, const std::string &ip="127.0.0.1")ServerSocket
ServerSocket(int fd, const std::string &label, Task *owner)ServerSocketinline
setExpiry(double s)Socketinline
setLogFile(std::ostream &stream)Loggerstatic
setLogLimit(unsigned int loglines=0, unsigned int warnlines=0, unsigned int errlines=0)Loggerstatic
setNonBlocking(int fd)Socketprotected
setOwner(Task *t)Socketinlinevirtual
setWantToSend()Socketinlineprotected
Socket(const std::string &label, Task *owner, const std::string &hostname, uint16_t port) (defined in Socket)Socket
Socket(const std::string &label, Task *owner, int fd) (defined in Socket)Socket
socket() constSocketinlineprotected
socketInError(int fd)Socketprotectedstatic
SocketReceiver(Task *task, int sock, pid_t peer_pid)SocketReceiver
state() constSocketinline
stopListening()ServerSocketinline
timeAfter(double s)Loggerinlinestatic
timeMax()Loggerinlinestatic
timeNow()Loggerinlinestatic
tlsKey() const (defined in ServerSocket)ServerSocketinline
tlsSetKey(unsigned int i) (defined in ServerSocket)ServerSocketinline
toUs(double t)Loggerinlinestatic
wantToSend()Socketinlineprotectedvirtual
warn_log(const std::string &label)Loggerinlinestatic
warn_log() constLoggerinlineprotected
~ServerSocket() override (defined in ServerSocket)ServerSocketvirtual
~Socket() (defined in Socket)Socketvirtual