proxygen
folly::test::MockAsyncSocket Member List

This is the complete list of members for folly::test::MockAsyncSocket, including all inherited members.

addr_folly::AsyncSocketmutableprotected
addZeroCopyBuf(std::unique_ptr< folly::IOBuf > &&buf)folly::AsyncSocketprotected
addZeroCopyBuf(folly::IOBuf *ptr)folly::AsyncSocketprotected
adjustZeroCopyFlags(folly::WriteFlags &flags)folly::AsyncSocketprotected
anyAddress()folly::AsyncSocketstatic
appBytesReceived_folly::AsyncSocketprotected
appBytesWritten_folly::AsyncSocketprotected
AsyncSocket()folly::AsyncSocketexplicit
AsyncSocket(EventBase *evb)folly::AsyncSocketexplicit
AsyncSocket(EventBase *evb, const folly::SocketAddress &address, uint32_t connectTimeout=0)folly::AsyncSocket
AsyncSocket(EventBase *evb, const std::string &ip, uint16_t port, uint32_t connectTimeout=0)folly::AsyncSocket
AsyncSocket(EventBase *evb, int fd, uint32_t zeroCopyBufId=0)folly::AsyncSocket
AsyncSocket(AsyncSocket::UniquePtr)folly::AsyncSocketexplicit
attachEventBase(EventBase *eventBase) overridefolly::AsyncSocketvirtual
bufferCallback_folly::AsyncSocketprotected
cacheAddresses()folly::AsyncSocket
cacheLocalAddress() const folly::AsyncSocketprotected
cachePeerAddress() const folly::AsyncSocketprotected
cancelConnect()folly::AsyncSocket
checkForImmediateRead() noexceptfolly::AsyncSocketprotectedvirtual
close() overridefolly::AsyncSocketvirtual
closeNow() overridefolly::AsyncSocketvirtual
closeWithReset() overridefolly::AsyncSocketvirtual
connect(AsyncSocket::ConnectCallback *callback, const folly::SocketAddress &address, int timeout, const OptionMap &options, const folly::SocketAddress &bindAddr) noexceptoverridefolly::test::MockAsyncSocketinlinevirtual
folly::AsyncSocket::connect(ConnectCallback *callback, const std::string &ip, uint16_t port, int timeout=0, const OptionMap &options=emptyOptionMap) noexceptfolly::AsyncSocket
connectCallback_folly::AsyncSocketprotected
connectEndTime_folly::AsyncSocketprotected
connecting() const overridefolly::AsyncSocketinlinevirtual
connectStartTime_folly::AsyncSocketprotected
connectTimeout_folly::AsyncSocketprotected
containsZeroCopyBuf(folly::IOBuf *ptr)folly::AsyncSocketprotected
DelayedDestruction()folly::DelayedDestructioninlineprotected
DelayedDestructionBase()folly::DelayedDestructionBaseinlineprotected
destroy() overridefolly::AsyncSocketvirtual
detachEventBase() overridefolly::AsyncSocketvirtual
detachFd()folly::AsyncSocketvirtual
disableTransparentTls()folly::AsyncSocketinline
disableTSocks()folly::AsyncSocketinline
doClose()folly::AsyncSocketprotected
emptyOptionMapfolly::AsyncSocketstatic
enableTFO()folly::AsyncSocketinline
errMessageCallback_folly::AsyncSocketprotected
error() const overridefolly::AsyncSocketvirtual
evbChangeCb_folly::AsyncSocketprotected
eventBase_folly::AsyncSocketprotected
eventFlags_folly::AsyncSocketprotected
fail(const char *fn, const AsyncSocketException &ex)folly::AsyncSocketprotected
failAllWrites(const AsyncSocketException &ex)folly::AsyncSocketprotected
failConnect(const char *fn, const AsyncSocketException &ex)folly::AsyncSocketprotected
failErrMessageRead(const char *fn, const AsyncSocketException &ex)folly::AsyncSocketprotected
failRead(const char *fn, const AsyncSocketException &ex)folly::AsyncSocketprotected
failWrite(const char *fn, WriteCallback *callback, size_t bytesWritten, const AsyncSocketException &ex)folly::AsyncSocketprotected
failWrite(const char *fn, const AsyncSocketException &ex)folly::AsyncSocketprotected
fd_folly::AsyncSocketprotected
finishFail()folly::AsyncSocketprotected
finishFail(const AsyncSocketException &ex)folly::AsyncSocketprotected
getAddress(SocketAddress *address) const overridefolly::AsyncTransportinlinevirtual
getAppBytesReceived() const overridefolly::AsyncSocketinlinevirtual
getAppBytesWritten() const overridefolly::AsyncSocketinlinevirtual
getApplicationProtocol() const noexceptfolly::AsyncTransportinlinevirtual
getConnectEndTime() const folly::AsyncSocketinline
getConnectStartTime() const folly::AsyncSocketinline
getConnectTime() const folly::AsyncSocketinline
getConnectTimeout() const folly::AsyncSocketinline
getDestroyPending() const folly::DelayedDestructioninline
getDestructorGuardCount() const folly::DelayedDestructionBaseinlineprotected
getErrMessageCallback() const folly::AsyncSocketvirtual
getEventBase() const overridefolly::AsyncSocketinlinevirtual
getFd() const folly::AsyncSocketinlinevirtual
getLocalAddress(folly::SocketAddress *address) const overridefolly::AsyncSocketvirtual
folly::AsyncTransportWrapper::getLocalAddress() const folly::AsyncTransportinline
getMaxReadsPerEvent() const folly::AsyncSocketinline
getNextZeroCopyBufId()folly::AsyncSocketinlineprotected
getPeerAddress(folly::SocketAddress *address) const overridefolly::AsyncSocketvirtual
folly::AsyncTransportWrapper::getPeerAddress() const folly::AsyncTransportinline
getPeerCert() const folly::AsyncTransportinlinevirtual
getPeerCertificate() const overridefolly::AsyncSocketinlinevirtual
getRawBytesReceived() const overridefolly::AsyncSocketinlinevirtual
getRawBytesWritten() const overridefolly::AsyncSocketinlinevirtual
getReadCallback() const overridefolly::AsyncSocketvirtual
getSecurityProtocol() const folly::AsyncTransportinlinevirtual
getSelfCert() const folly::AsyncTransportinlinevirtual
getSelfCertificate() const overridefolly::AsyncSocketinlinevirtual
getSendMsgParamsCB() const folly::AsyncSocketvirtual
getSendTimeout() const overridefolly::AsyncSocketinlinevirtual
getSockOpt(int level, int optname, T *optval, socklen_t *optlen)folly::AsyncSocketinline
getSockOptVirtual(int level, int optname, void *optval, socklen_t *optlen)folly::AsyncSocketinlinevirtual
getTFOAttempted() const folly::AsyncSocketinline
getTFOFinished() const folly::AsyncSocketinline
getTFOSucceded() const folly::AsyncSocket
getUnderlyingTransport() const folly::AsyncTransportWrapperinline
getUnderlyingTransport()folly::AsyncTransportWrapperinline
getWrappedTransport() const folly::AsyncTransportWrapperinlinevirtual
getZeroCopy() const folly::AsyncSocketinline
getZeroCopyBufId() const folly::AsyncSocketinline
getZeroCopyReenableThreshold() const folly::AsyncSocketinline
good() const overridefolly::AsyncSocketvirtual
handleConnect() noexceptfolly::AsyncSocketprotectedvirtual
handleErrMessages() noexceptfolly::AsyncSocketprotectedvirtual
handleInitialReadWrite() noexceptfolly::AsyncSocketprotectedvirtual
handleRead() noexceptfolly::AsyncSocketprotectedvirtual
handleWrite() noexceptfolly::AsyncSocketprotectedvirtual
hangup() const folly::AsyncSocketvirtual
idZeroCopyBufInfoMap_folly::AsyncSocketprotected
idZeroCopyBufPtrMap_folly::AsyncSocketprotected
immediateReadHandler_folly::AsyncSocketprotected
init()folly::AsyncSocketprotected
invalidState(ConnectCallback *callback)folly::AsyncSocketprotected
invalidState(ErrMessageCallback *callback)folly::AsyncSocketprotected
invalidState(ReadCallback *callback)folly::AsyncSocketprotected
invalidState(WriteCallback *callback)folly::AsyncSocketprotected
invokeAllErrors(const AsyncSocketException &ex)folly::AsyncSocketprotected
invokeConnectErr(const AsyncSocketException &ex)folly::AsyncSocketprotectedvirtual
invokeConnectSuccess()folly::AsyncSocketprotectedvirtual
ioHandler_folly::AsyncSocketprotected
ioReady(uint16_t events) noexceptfolly::AsyncSocketprotected
isBufferMovable_folly::AsyncSocketprotected
isClosedByPeer() const folly::AsyncSocketinlinevirtual
isClosedBySelf() const folly::AsyncSocketinlinevirtual
isDetachable() const overridefolly::AsyncSocketvirtual
isEorTrackingEnabled() const overridefolly::AsyncSocketinlinevirtual
isPending() const overridefolly::AsyncSocketvirtual
isReplaySafe() const folly::AsyncTransportinlinevirtual
isZeroCopyMsg(const cmsghdr &cmsg) const folly::AsyncSocketprotected
isZeroCopyRequest(WriteFlags flags)folly::AsyncSocketprotected
isZeroCopyWriteInProgress() const noexceptfolly::AsyncSocket
localAddr_folly::AsyncSocketmutableprotected
maxReadsPerEvent_folly::AsyncSocketprotected
MOCK_CONST_METHOD0(getFd, int())folly::test::MockAsyncSocket
MOCK_CONST_METHOD0(good, bool())folly::test::MockAsyncSocket
MOCK_CONST_METHOD0(readable, bool())folly::test::MockAsyncSocket
MOCK_CONST_METHOD0(hangup, bool())folly::test::MockAsyncSocket
MOCK_CONST_METHOD0(getRawBytesWritten, size_t())folly::test::MockAsyncSocket
MOCK_CONST_METHOD1(getPeerAddress, void(folly::SocketAddress *))folly::test::MockAsyncSocket
MOCK_CONST_METHOD1(getLocalAddress, void(SocketAddress *))folly::test::MockAsyncSocket
MOCK_METHOD0(detachFd, int())folly::test::MockAsyncSocket
MOCK_METHOD0(closeNow, void())folly::test::MockAsyncSocket
MOCK_METHOD1(setReadCB, void(ReadCallback *))folly::test::MockAsyncSocket
MOCK_METHOD1(_setPreReceivedData, void(std::unique_ptr< IOBuf > &))folly::test::MockAsyncSocket
MOCK_METHOD1(setErrMessageCB, void(AsyncSocket::ErrMessageCallback *))folly::test::MockAsyncSocket
MOCK_METHOD1(setSendMsgParamCB, void(AsyncSocket::SendMsgParamsCallback *))folly::test::MockAsyncSocket
MOCK_METHOD4(setSockOptVirtual, int(int, int, void const *, socklen_t))folly::test::MockAsyncSocket
MOCK_METHOD5(connect_, void(AsyncSocket::ConnectCallback *, const folly::SocketAddress &, int, const OptionMap &, const folly::SocketAddress &))folly::test::MockAsyncSocket
MockAsyncSocket(EventBase *base)folly::test::MockAsyncSocketinlineexplicit
newSocket(EventBase *evb)folly::AsyncSocketinlinestatic
newSocket(EventBase *evb, const folly::SocketAddress &address, uint32_t connectTimeout=0)folly::AsyncSocketinlinestatic
newSocket(EventBase *evb, const std::string &ip, uint16_t port, uint32_t connectTimeout=0)folly::AsyncSocketinlinestatic
newSocket(EventBase *evb, int fd)folly::AsyncSocketinlinestatic
noTransparentTls_folly::AsyncSocketprotected
noTSocks_folly::AsyncSocketprotected
OptionMap typedeffolly::AsyncSocket
peerCertData_folly::AsyncSocketmutableprotected
performRead(void **buf, size_t *buflen, size_t *offset)folly::AsyncSocketprotectedvirtual
performWrite(const iovec *vec, uint32_t count, WriteFlags flags, uint32_t *countWritten, uint32_t *partialWritten)folly::AsyncSocketprotectedvirtual
prepareReadBuffer(void **buf, size_t *buflen)folly::AsyncSocketprotectedvirtual
preReceivedData_folly::AsyncSocketprotected
processZeroCopyMsg(const cmsghdr &cmsg)folly::AsyncSocketprotected
processZeroCopyWriteInProgress() noexceptfolly::AsyncSocket
READ_BLOCKING enum valuefolly::AsyncSocketprotected
READ_EOF enum valuefolly::AsyncSocketprotected
READ_ERROR enum valuefolly::AsyncSocketprotected
READ_NO_ERROR enum valuefolly::AsyncSocketprotected
readable() const overridefolly::AsyncSocketvirtual
ReadCallback typedeffolly::AsyncTransportWrapper
readCallback_folly::AsyncSocketprotected
readErr_folly::AsyncSocketprotected
ReadResultEnum enum namefolly::AsyncSocketprotected
registerForConnectEvents()folly::AsyncSocketprotected
releaseZeroCopyBuf(uint32_t id)folly::AsyncSocketprotected
scheduleConnectTimeout()folly::AsyncSocketprotectedvirtual
scheduleImmediateRead() noexceptfolly::AsyncSocketinlineprotected
scheduleInitialReadWrite() noexceptfolly::AsyncSocketinlineprotected
selfCertData_folly::AsyncSocketmutableprotected
sendMsgParamCallback_folly::AsyncSocketprotected
sendSocketMessage(int fd, struct msghdr *msg, int msg_flags)folly::AsyncSocketprotected
sendTimeout_folly::AsyncSocketprotected
setBufferCallback(BufferCallback *cb)folly::AsyncSocket
setCloseOnExec()folly::AsyncSocket
setCongestionFlavor(const std::string &cname)folly::AsyncSocket
setEorTracking(bool track) overridefolly::AsyncSocketinlinevirtual
setErrMessageCB(ErrMessageCallback *callback)folly::AsyncSocketvirtual
setEvbChangedCallback(std::unique_ptr< EvbChangeCallback > cb)folly::AsyncSocketinline
setMaxReadsPerEvent(uint16_t maxReads)folly::AsyncSocketinline
setNoDelay(bool noDelay)folly::AsyncSocket
setPeerCertificate(std::unique_ptr< const AsyncTransportCertificate > cert)folly::AsyncSocketinline
setPreReceivedData(std::unique_ptr< IOBuf > data) overridefolly::test::MockAsyncSocketinlinevirtual
setQuickAck(bool quickack)folly::AsyncSocket
setReadCB(ReadCallback *callback) overridefolly::AsyncSocketvirtual
setRecvBufSize(size_t bufsize)folly::AsyncSocket
setReplaySafetyCallback(ReplaySafetyCallback *callback)folly::AsyncTransportinlinevirtual
setSelfCertificate(std::unique_ptr< const AsyncTransportCertificate > cert)folly::AsyncSocketinline
setSendBufSize(size_t bufsize)folly::AsyncSocket
setSendMsgParamCB(SendMsgParamsCallback *callback)folly::AsyncSocketvirtual
setSendTimeout(uint32_t milliseconds) overridefolly::AsyncSocketvirtual
setShutdownSocketSet(const std::weak_ptr< ShutdownSocketSet > &wSS)folly::AsyncSocket
setSockOpt(int level, int optname, const T *optval)folly::AsyncSocketinline
setSockOptVirtual(int level, int optname, void const *optval, socklen_t optlen)folly::AsyncSocketinlinevirtual
setTCPProfile(int profd)folly::AsyncSocket
setZeroCopy(bool enable)folly::AsyncSocket
setZeroCopyBuf(std::unique_ptr< folly::IOBuf > &&buf)folly::AsyncSocketprotected
setZeroCopyReenableThreshold(size_t threshold)folly::AsyncSocket
SHUT_READ enum valuefolly::AsyncSocketprotected
SHUT_WRITE enum valuefolly::AsyncSocketprotected
SHUT_WRITE_PENDING enum valuefolly::AsyncSocketprotected
ShutdownFlags enum namefolly::AsyncSocketprotected
shutdownFlags_folly::AsyncSocketprotected
shutdownWrite() overridefolly::AsyncSocketvirtual
shutdownWriteNow() overridefolly::AsyncSocketvirtual
socketConnect(const struct sockaddr *addr, socklen_t len)folly::AsyncSocketprotected
startFail()folly::AsyncSocketprotected
state_folly::AsyncSocketprotected
StateEnum enum namefolly::AsyncSocket
tfoAttempted_folly::AsyncSocketprotected
tfoEnabled_folly::AsyncSocketprotected
tfoFinished_folly::AsyncSocketprotected
tfoSendMsg(int fd, struct msghdr *msg, int msg_flags)folly::AsyncSocketprotectedvirtual
timeoutExpired() noexceptfolly::AsyncSocketprotected
trackEor_folly::AsyncSocketprotected
UniquePtr typedeffolly::test::MockAsyncSocket
updateEventRegistration()folly::AsyncSocketprotected
updateEventRegistration(uint16_t enable, uint16_t disable)folly::AsyncSocketprotected
withAddr(const std::string &s)folly::AsyncSocketprotected
writable() const overridefolly::AsyncSocketvirtual
write(WriteCallback *callback, const void *buf, size_t bytes, WriteFlags flags=WriteFlags::NONE) overridefolly::AsyncSocketvirtual
WRITE_ERROR enum valuefolly::AsyncSocketprotected
WriteCallback typedeffolly::AsyncTransportWrapper
writeChain(WriteCallback *callback, std::unique_ptr< folly::IOBuf > &&buf, WriteFlags flags=WriteFlags::NONE) overridefolly::AsyncSocketvirtual
writeChainImpl(WriteCallback *callback, iovec *vec, size_t count, std::unique_ptr< folly::IOBuf > &&buf, WriteFlags flags)folly::AsyncSocketprotected
writeImpl(WriteCallback *callback, const iovec *vec, size_t count, std::unique_ptr< folly::IOBuf > &&buf, WriteFlags flags=WriteFlags::NONE)folly::AsyncSocketprotected
writeReqHead_folly::AsyncSocketprotected
writeReqTail_folly::AsyncSocketprotected
writeRequest(WriteRequest *req)folly::AsyncSocketvirtual
writeRequestReady()folly::AsyncSocketinline
WriteResultEnum enum namefolly::AsyncSocketprotected
writeTimeout_folly::AsyncSocketprotected
writev(WriteCallback *callback, const iovec *vec, size_t count, WriteFlags flags=WriteFlags::NONE) overridefolly::AsyncSocketvirtual
wShutdownSocketSet_folly::AsyncSocketprotected
zeroCopyBufId_folly::AsyncSocketprotected
zeroCopyEnabled_folly::AsyncSocketprotected
zeroCopyReenableCounter_folly::AsyncSocketprotected
zeroCopyReenableThreshold_folly::AsyncSocketprotected
zeroCopyVal_folly::AsyncSocketprotected
~AsyncReader()=defaultfolly::AsyncReaderprotectedvirtual
~AsyncSocket() overridefolly::AsyncSocketprotected
~AsyncSocketBase()=defaultfolly::AsyncSocketBasevirtual
~AsyncTransport() override=defaultfolly::AsyncTransportprotected
~AsyncWriter()=defaultfolly::AsyncWriterprotectedvirtual
~DelayedDestruction() override=defaultfolly::DelayedDestructionprotected
~DelayedDestructionBase()=defaultfolly::DelayedDestructionBasevirtual