Inherits ThreadClass.
Public Member Functions | |
| BuddyThreadClass () | |
| void | Thread_Function () |
| void | errorCallback (GPConnection *con, GPErrorArg *arg) |
| void | messageCallback (GPConnection *con, GPRecvBuddyMessageArg *arg) |
| void | connectCallback (GPConnection *con, GPConnectResponseArg *arg) |
| void | requestCallback (GPConnection *con, GPRecvBuddyRequestArg *arg) |
| void | statusCallback (GPConnection *con, GPRecvBuddyStatusArg *arg) |
| Bool | isConnecting (void) |
| Bool | isConnected (void) |
| GPProfile | getLocalProfileID (void) |
Public Member Functions inherited from ThreadClass | |
| ThreadClass (const char *name=NULL, ExceptionHandlerType exception_handler=NULL) | |
| virtual | ~ThreadClass () |
| void | Execute () |
| void | Set_Priority (int priority) |
| void | Stop (unsigned ms=3000) |
| bool | Is_Running () |
| const char * | Get_Name (void) |
Additional Inherited Members | |
Public Types inherited from ThreadClass | |
| typedef int(* | ExceptionHandlerType) (int exception_code, struct _EXCEPTION_POINTERS *e_info) |
Static Public Member Functions inherited from ThreadClass | |
| static void | Sleep_Ms (unsigned ms=0) |
| static void | Switch_Thread () |
| static unsigned | _Get_Current_Thread_ID () |
| static int | Get_Thread_By_Index (int index, char *name_ptr=NULL) |
Protected Attributes inherited from ThreadClass | |
| volatile bool | running |
| char | ThreadName [64] |
| unsigned | ThreadID |
| ExceptionHandlerType | ExceptionHandler |
Definition at line 95 of file BuddyThread.cpp.
|
inline |
Definition at line 99 of file BuddyThread.cpp.
| void BuddyThreadClass::connectCallback | ( | GPConnection * | con, |
| GPConnectResponseArg * | arg ) |
Definition at line 531 of file BuddyThread.cpp.
| void BuddyThreadClass::errorCallback | ( | GPConnection * | con, |
| GPErrorArg * | arg ) |
Definition at line 396 of file BuddyThread.cpp.
|
inline |
Definition at line 112 of file BuddyThread.cpp.
|
inline |
Definition at line 110 of file BuddyThread.cpp.
|
inline |
Definition at line 109 of file BuddyThread.cpp.
| void BuddyThreadClass::messageCallback | ( | GPConnection * | con, |
| GPRecvBuddyMessageArg * | arg ) |
Definition at line 514 of file BuddyThread.cpp.
| void BuddyThreadClass::requestCallback | ( | GPConnection * | con, |
| GPRecvBuddyRequestArg * | arg ) |
Definition at line 631 of file BuddyThread.cpp.
| void BuddyThreadClass::statusCallback | ( | GPConnection * | con, |
| GPRecvBuddyStatusArg * | arg ) |
Definition at line 658 of file BuddyThread.cpp.
|
virtual |
Implements ThreadClass.
Definition at line 267 of file BuddyThread.cpp.