ReactiveInterface
+ Inheritance diagram for ReactiveInterface:

Description

The instance can be added to a reactor and notified of selection.

See also
Reactor

Public Methods

void onOutOfBand ()
 Called by the reactor when the socket has readable out-of-band data. More...
 
void onReadable ()
 Called by the reactor when the socket has readable data. More...
 
- Public Methods inherited from SocketInterface
int getId ()
 Returns the underlying socket resource as an integer. More...
 
resource getResource ()
 Returns the underlying socket resource. More...
 
bool isOpen ()
 Whether the underlying resource is usable. More...
 

Additional Inherited Members

- Public Properties inherited from SocketInterface
const CH_EXCEPT = 2
 Out-of-band channel. More...
 
const CH_READ = 0
 Read channel. More...
 
const CH_WRITE = 1
 Write channel. More...
 

Methods

◆ onOutOfBand()

void onOutOfBand ( )

Called by the reactor when the socket has readable out-of-band data.

Returns
void

Implemented in WebSocketClient, and WebSocketServer.

◆ onReadable()

void onReadable ( )

Called by the reactor when the socket has readable data.

Returns
void

Implemented in WebSocketClient, and WebSocketServer.