Version: 2.9.4
Public Member Functions
wxSocketEvent Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/socket.h>

Inheritance diagram for wxSocketEvent:

Detailed Description

このイベントクラスはソケットイベントに関する情報を含んでいます。

This kind of events are sent to the event handler specified with wxSocketBase::SetEventHandler.

Events using this class

The following event handler macros redirect the events to member function handlers 'func' with prototypes like:

void handlerFuncName(wxSocketEvent& event)

Event macros:

Library:  wxNet
Category:  Networking
参照:
wxSocketBase, wxSocketClient, wxSocketServer

Public Member Functions

 wxSocketEvent (int id=0)
 Constructor.
void * GetClientData () const
 Gets the client data of the socket which generated this event, as set with wxSocketBase::SetClientData().
wxSocketBaseGetSocket () const
 Returns the socket object to which this event refers to.
wxSocketNotify GetSocketEvent () const
 Returns the socket event type.

List of all members.


Constructor & Destructor Documentation

wxSocketEvent::wxSocketEvent ( int  id = 0)

Constructor.


Member Function Documentation

void* wxSocketEvent::GetClientData ( ) const

Gets the client data of the socket which generated this event, as set with wxSocketBase::SetClientData().

wxSocketBase* wxSocketEvent::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 wxSocketEvent::GetSocketEvent ( ) const

Returns the socket event type.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines