- if ( condition & GDK_INPUT_READ )
- socket->Detected_Read();
- if ( condition & GDK_INPUT_WRITE )
- socket->Detected_Write();
+ if ( condition & GDK_INPUT_READ )
+ handler->OnReadWaiting();
+ if ( condition & GDK_INPUT_WRITE )
+ handler->OnWriteWaiting();