Protected Member Functions | Friends | List of all members
iISTcpServerDelegate Class Reference

#include <ISTcpServer.h>

Inheritance diagram for iISTcpServerDelegate:
Inheritance graph
[legend]

Protected Member Functions

virtual void OnClientConnected (cISTcpServer *server, socket_t socket)
 
virtual void OnClientConnectFailed (cISTcpServer *server)
 
virtual void OnClientConnecting (cISTcpServer *server)
 
virtual void OnClientDataReceived (cISTcpServer *server, socket_t socket, uint8_t *data, int dataLength)
 
virtual void OnClientDisconnected (cISTcpServer *server, socket_t socket)
 

Friends

class cISTcpServer
 

Detailed Description

Definition at line 26 of file ISTcpServer.h.

Member Function Documentation

◆ OnClientConnected()

virtual void iISTcpServerDelegate::OnClientConnected ( cISTcpServer server,
socket_t  socket 
)
inlineprotectedvirtual

Executes when a client has connected

Parameters
serverthe server the client connected to
socketthe connected socket

Reimplemented in InertialSense.

Definition at line 58 of file ISTcpServer.h.

◆ OnClientConnectFailed()

virtual void iISTcpServerDelegate::OnClientConnectFailed ( cISTcpServer server)
inlineprotectedvirtual

Executes when a client fails to connect

Parameters
serverthe server the client failed to connect to

Reimplemented in InertialSense.

Definition at line 68 of file ISTcpServer.h.

◆ OnClientConnecting()

virtual void iISTcpServerDelegate::OnClientConnecting ( cISTcpServer server)
inlineprotectedvirtual

Executes when a client is connecting

Parameters
serverthe server the client socket is connecting to

Reimplemented in InertialSense.

Definition at line 48 of file ISTcpServer.h.

◆ OnClientDataReceived()

virtual void iISTcpServerDelegate::OnClientDataReceived ( cISTcpServer server,
socket_t  socket,
uint8_t *  data,
int  dataLength 
)
inlineprotectedvirtual

Executes when client data is received

Parameters
serverthe server receiving data
socketthe client socket
datathe data received
dataLengththe number of bytes received

Definition at line 36 of file ISTcpServer.h.

◆ OnClientDisconnected()

virtual void iISTcpServerDelegate::OnClientDisconnected ( cISTcpServer server,
socket_t  socket 
)
inlineprotectedvirtual

Executes when a client disconnects

Parameters
serverthe server the client disconnected from
socketthe socket that disconnected

Reimplemented in InertialSense.

Definition at line 78 of file ISTcpServer.h.

Friends And Related Function Documentation

◆ cISTcpServer

friend class cISTcpServer
friend

Definition at line 84 of file ISTcpServer.h.


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


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:02