GCGlib  0.04.228
GCG Graphics Engine
Communication event codes

Codes for event management by gcgINETPEER::waitEvent() and gcgINETSERVICE::eventHandler() More...

Macros

#define GCG_EVENT_NOTREADYORDISCONNECTED   0x0
 Indicates that the peer is not ready for communication, an error occurred or the peer is disconnected.
 
#define GCG_EVENT_RECEIVEREADY   0x1
 Indicates that the peer is ready to receive messages.
 
#define GCG_EVENT_SENDREADY   0x2
 Indicates that the peer is ready to send messages. Even if the peer is ready to send, it does not imply that the caller will not block. This also depends on the size of the message.
 
#define GCG_EVENT_RECEIVESENDREADY   (GCG_EVENT_RECEIVEREADY | GCG_EVENT_SENDREADY)
 Indicates that the peer is ready to receive or send messages.
 
#define GCG_EVENT_INSERTED   0x4
 Indicates that the peer was inserted by processEvents().
 
#define GCG_EVENT_REMOVED   0x8
 Indicates that the peer was removed by processEvents().
 
#define GCG_EVENT_VISIT   0x10
 Indicates that the peer was flagged to be visited by eventHandler().
 
#define GCG_EVENT_NEWCONNECTION   0x20
 Indicates that a new connection was accepted.
 

Detailed Description

Codes for event management by gcgINETPEER::waitEvent() and gcgINETSERVICE::eventHandler()