このイベントクラスはソケットイベントに関する情報を含んでいます。
継承元
インクルードファイル
<wx/socket.h>
Event table macros
To process a socket event, use these event handler macros to direct input to member functions that take a wxSocketEvent argument.
EVT_SOCKET(id, func) | Process a socket event, supplying the member function. |
参照
wxSocketBase, wxSocketClient, wxSocketServer
Members
wxSocketEvent::wxSocketEvent
wxSocketEvent::GetClientData
wxSocketEvent::GetSocket
wxSocketEvent::GetSocketEvent
wxSocketEvent(int id = 0)
Constructor.
void * GetClientData()
Gets the client data of the socket which generated this event, as set with wxSocketBase::SetClientData.
wxSocketBase * GetSocket() const
Returns the socket object to which this event refers to. This makes it possible to use the same event handler for different sockets.
wxSocketNotify GetSocketEvent() const
Returns the socket event type.