Hiroshi Yamaguchi / SimpleSocket 1.0

Dependents:   SimpleSocketExamples 1.0

Embed: (wiki syntax)

« Back to documentation index

SocketEvent Class Reference

SocketEvent Class Reference

wrapper class of TCPSocketEvent More...

#include <SimpleSocket.h>

Public Member Functions

 SocketEvent (TCPSocketEvent event)
 creates a SocketEvent wrapper object.
char * toString ()
 operator char * ()
 an operator overloading for toString()
 operator int ()
 an operator overloading for TCP socket event number

Detailed Description

wrapper class of TCPSocketEvent

Definition at line 35 of file SimpleSocket.h.


Constructor & Destructor Documentation

SocketEvent ( TCPSocketEvent  event )

creates a SocketEvent wrapper object.

Parameters:
eventTCP socket event number

Definition at line 25 of file EventsErrors.cpp.


Member Function Documentation

operator char * (  )

an operator overloading for toString()

Definition at line 54 of file EventsErrors.cpp.

operator int (  )

an operator overloading for TCP socket event number

Definition at line 58 of file EventsErrors.cpp.

char * toString (  )
Returns:
a string representation of the event

Definition at line 27 of file EventsErrors.cpp.