The C++ framework for developing highly scalable, high performance servers on Windows platforms.

IWebSocketServer Class Reference

Inheritance diagram for IWebSocketServer:
Collaboration diagram for IWebSocketServer:

List of all members.

Public Member Functions

virtual void OnConnectionEstablished (IWebSocket &socket, const std::string &uri, bool secure)=0
virtual void OnOutboundConnectionEstablished (IWebSocket &socket, const CHeaders &responseHeaders)=0
virtual void OnData (IWebSocket &socket, const JetByteTools::Core::_tstring &text, MessageStatus status, __int64 messageBytesOutstanding)=0
virtual void OnData (IWebSocket &socket, JetByteTools::IO::CSmartBuffer &buffer, MessageType type, MessageStatus status, __int64 messageBytesOutstanding)=0
virtual void OnPingResponse (IWebSocket &socket, const BYTE *pData, BYTE length)=0
virtual void OnClientClose (IWebSocket &socket, WORD status, const JetByteTools::Core::_tstring &text)=0
virtual void OnError (JetByteTools::WebSocket::HyBi::IWebSocket &socket, const JetByteTools::Core::_tstring &message)=0
virtual void OnClosed (JetByteTools::WebSocket::HyBi::IWebSocket &socket, WORD status)=0
OnConnectionHandshake (JetByteTools::Core::IIndexedOpaqueUserData &userData, const std::string &uri, bool secure, const CHeaders &requestHeaders, CHeaders &responseHeaders)=0

Static Public Attributes

static const __int64 UnknownMessageBytesOutstanding = -1

Protected Member Functions

virtual ~IWebSocketServer ()

Constructor & Destructor Documentation

virtual ~IWebSocketServer (  )  [protected, virtual]

Member Function Documentation

virtual void OnConnectionEstablished ( IWebSocket socket,
const std::string &  uri,
bool  secure 
) [pure virtual]

virtual void OnOutboundConnectionEstablished ( IWebSocket socket,
const CHeaders responseHeaders 
) [pure virtual]

virtual void OnData ( IWebSocket socket,
const JetByteTools::Core::_tstring text,
MessageStatus  status,
__int64  messageBytesOutstanding 
) [pure virtual]

virtual void OnData ( IWebSocket socket,
JetByteTools::IO::CSmartBuffer buffer,
MessageType  type,
MessageStatus  status,
__int64  messageBytesOutstanding 
) [pure virtual]

virtual void OnPingResponse ( IWebSocket socket,
const BYTE pData,
BYTE  length 
) [pure virtual]

virtual void OnClientClose ( IWebSocket socket,
WORD  status,
const JetByteTools::Core::_tstring text 
) [pure virtual]

virtual void OnError ( JetByteTools::WebSocket::HyBi::IWebSocket socket,
const JetByteTools::Core::_tstring message 
) [pure virtual]

virtual void OnClosed ( JetByteTools::WebSocket::HyBi::IWebSocket socket,
WORD  status 
) [pure virtual]

virtual ConnectionEstablishmentResult OnConnectionHandshake ( JetByteTools::Core::IIndexedOpaqueUserData userData,
const std::string &  uri,
bool  secure,
const CHeaders requestHeaders,
CHeaders responseHeaders 
) [pure virtual, inherited]

Member Data Documentation

const __int64 UnknownMessageBytesOutstanding = -1 [static]

Generated on Sun Sep 12 19:11:27 2021 for The Server Framework - v7.4 by doxygen 1.5.3