proxygen
proxygen::HTTPSessionBase::InfoCallback Class Reference

#include <HTTPSessionBase.h>

Inheritance diagram for proxygen::HTTPSessionBase::InfoCallback:
HTTPUpstreamTest< C > proxygen::HTTPSessionAcceptor HTTPUpstreamRecvStreamTest TimeoutableHTTPUpstreamTest< C > HTTPTargetSessionAcceptor proxygen::HTTPServerAcceptor

Public Member Functions

virtual ~InfoCallback ()
 
virtual void onCreate (const HTTPSessionBase &)
 
virtual void onFullHandshakeCompletion (const HTTPSessionBase &)
 
virtual void onIngressError (const HTTPSessionBase &, ProxygenError)
 
virtual void onIngressEOF ()
 
virtual void onRead (const HTTPSessionBase &, size_t)
 
virtual void onWrite (const HTTPSessionBase &, size_t)
 
virtual void onRequestBegin (const HTTPSessionBase &)
 
virtual void onRequestEnd (const HTTPSessionBase &, uint32_t)
 
virtual void onActivateConnection (const HTTPSessionBase &)
 
virtual void onDeactivateConnection (const HTTPSessionBase &)
 
virtual void onDestroy (const HTTPSessionBase &)
 
virtual void onIngressMessage (const HTTPSessionBase &, const HTTPMessage &)
 
virtual void onIngressLimitExceeded (const HTTPSessionBase &)
 
virtual void onIngressPaused (const HTTPSessionBase &)
 
virtual void onTransactionDetached (const HTTPSessionBase &)
 
virtual void onPingReplySent (int64_t)
 
virtual void onPingReplyReceived ()
 
virtual void onSettingsOutgoingStreamsFull (const HTTPSessionBase &)
 
virtual void onSettingsOutgoingStreamsNotFull (const HTTPSessionBase &)
 
virtual void onFlowControlWindowClosed (const HTTPSessionBase &)
 
virtual void onEgressBuffered (const HTTPSessionBase &)
 
virtual void onEgressBufferCleared (const HTTPSessionBase &)
 
virtual void onSettings (const HTTPSessionBase &, const SettingsList &)
 
virtual void onSettingsAck (const HTTPSessionBase &)
 

Detailed Description

Optional callback interface that the HTTPSessionBase notifies of connection lifecycle events.

Definition at line 47 of file HTTPSessionBase.h.

Constructor & Destructor Documentation

virtual proxygen::HTTPSessionBase::InfoCallback::~InfoCallback ( )
inlinevirtual

Definition at line 49 of file HTTPSessionBase.h.

49 {}

Member Function Documentation

virtual void proxygen::HTTPSessionBase::InfoCallback::onActivateConnection ( const HTTPSessionBase )
inlinevirtual

Definition at line 61 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::createTransaction().

61 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onCreate ( const HTTPSessionBase )
inlinevirtual

Reimplemented in HTTPUpstreamTest< C >, and HTTPTargetSessionAcceptor.

Definition at line 52 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::WriteSegment::writeErr().

52 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onDeactivateConnection ( const HTTPSessionBase )
inlinevirtual

Definition at line 62 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::detach().

62 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onDestroy ( const HTTPSessionBase )
inlinevirtual

Reimplemented in HTTPUpstreamTest< C >.

Definition at line 64 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSessionBase::runDestroyCallbacks().

64 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onEgressBufferCleared ( const HTTPSessionBase )
inlinevirtual

Definition at line 76 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::onEgressBufferCleared().

76 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onEgressBuffered ( const HTTPSessionBase )
inlinevirtual

Definition at line 75 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::onEgressBuffered().

75 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onFlowControlWindowClosed ( const HTTPSessionBase )
inlinevirtual

Definition at line 74 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::onConnectionSendWindowClosed().

74 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onFullHandshakeCompletion ( const HTTPSessionBase )
inlinevirtual

Definition at line 53 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::onReplaySafe().

53 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onIngressEOF ( )
inlinevirtual

Definition at line 55 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::shutdownTransport().

55 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onIngressLimitExceeded ( const HTTPSessionBase )
inlinevirtual

Definition at line 67 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSessionBase::onBodyImpl().

67 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onIngressMessage ( const HTTPSessionBase ,
const HTTPMessage  
)
inlinevirtual

Definition at line 65 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::onHeadersComplete().

66  {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onIngressPaused ( const HTTPSessionBase )
inlinevirtual

Definition at line 68 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::pauseReadsImpl().

68 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onPingReplyReceived ( )
inlinevirtual

Definition at line 71 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::onPingReply().

71 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onPingReplySent ( int64_t  )
inlinevirtual

Definition at line 70 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::onPingReplyLatency().

70 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onRead ( const HTTPSessionBase ,
size_t   
)
inlinevirtual
virtual void proxygen::HTTPSessionBase::InfoCallback::onRequestBegin ( const HTTPSessionBase )
inlinevirtual
virtual void proxygen::HTTPSessionBase::InfoCallback::onRequestEnd ( const HTTPSessionBase ,
uint32_t   
)
inlinevirtual

Definition at line 59 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::onEgressMessageFinished().

60  {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onSettings ( const HTTPSessionBase ,
const SettingsList  
)
inlinevirtual

Definition at line 77 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::onSettings().

77 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onSettingsAck ( const HTTPSessionBase )
inlinevirtual

Definition at line 78 of file HTTPSessionBase.h.

References codec, proxygen::localAddr, and proxygen::peerAddr.

Referenced by proxygen::HTTPSession::onSettingsAck().

78 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onSettingsOutgoingStreamsFull ( const HTTPSessionBase )
inlinevirtual

Reimplemented in HTTPUpstreamTest< C >.

Definition at line 72 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::onSetMaxInitiatedStreams().

72 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onSettingsOutgoingStreamsNotFull ( const HTTPSessionBase )
inlinevirtual

Reimplemented in HTTPUpstreamTest< C >.

Definition at line 73 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::onSetMaxInitiatedStreams().

73 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onTransactionDetached ( const HTTPSessionBase )
inlinevirtual

Definition at line 69 of file HTTPSessionBase.h.

Referenced by proxygen::HTTPSession::detach().

69 {}
virtual void proxygen::HTTPSessionBase::InfoCallback::onWrite ( const HTTPSessionBase ,
size_t   
)
inlinevirtual

The documentation for this class was generated from the following file: