Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

MyIncomingSocket Class Reference

#include <MyIncomingSocket.h>

Inheritance diagram for MyIncomingSocket:

IncomingSocket RealSocket Socket

Public Member Functions

 MyIncomingSocket (socket_t _sock, struct sockaddr_in _saddr, ListenServer *_parent)
void __OnRead ()
void __OnClose ()
void __OnConnClosed ()
void __OnConnected ()
void __OnReadError ()

Constructor & Destructor Documentation

MyIncomingSocket::MyIncomingSocket socket_t  _sock,
struct sockaddr_in  _saddr,
ListenServer _parent
 

Definition at line 24 of file MyIncomingSocket.cpp.

References __OnConnected().


Member Function Documentation

void MyIncomingSocket::__OnClose  )  [virtual]
 

Reimplemented from IncomingSocket.

Definition at line 39 of file MyIncomingSocket.cpp.

References Socket::GetSock(), StringLib::itos(), and StringLib::out().

void MyIncomingSocket::__OnConnClosed  )  [virtual]
 

Reimplemented from IncomingSocket.

Definition at line 45 of file MyIncomingSocket.cpp.

References Socket::GetSock(), StringLib::itos(), and StringLib::out().

void MyIncomingSocket::__OnConnected  )  [virtual]
 

Reimplemented from IncomingSocket.

Definition at line 51 of file MyIncomingSocket.cpp.

References StringLib::debug(), IncomingSocket::GetParent(), and StringLib::itos().

Referenced by MyIncomingSocket().

void MyIncomingSocket::__OnRead  )  [virtual]
 

Reimplemented from IncomingSocket.

Definition at line 33 of file MyIncomingSocket.cpp.

References RealSocket::GetReadBuf(), RealSocket::GetReadLen(), Socket::GetSock(), StringLib::itos(), and StringLib::out().

void MyIncomingSocket::__OnReadError  )  [virtual]
 

Reimplemented from IncomingSocket.

Definition at line 57 of file MyIncomingSocket.cpp.

References Socket::GetSock(), StringLib::itos(), and StringLib::out().


The documentation for this class was generated from the following files:
SourceForge.netLogo