Library Net

Package Reactor

Overview

Classes: ErrorNotification, IdleNotification, ParallelSocketAcceptor, ParallelSocketReactor, Params, ReadableNotification, ShutdownNotification, SocketAcceptor, SocketConnector, SocketNotification, SocketNotifier, SocketReactor, TimeoutNotification, WritableNotification

Classes

class ErrorNotification

This notification is sent if a socket has signalled an error. 

class IdleNotification

This notification is sent when the SocketReactor does not have any sockets to react to. 

class ParallelSocketAcceptor

This class implements the Acceptor part of the Acceptor-Connector design pattern. 

class ParallelSocketReactor

 

struct Params

Reactor parameters. 

class ReadableNotification

This notification is sent if a socket has become readable. 

class ShutdownNotification

This notification is sent when the SocketReactor is about to shut down. 

class SocketAcceptor

This class implements the Acceptor part of the Acceptor-Connector design pattern. 

class SocketConnector

This class implements the Connector part of the Acceptor-Connector design pattern. 

class SocketNotification

The base class for all notifications generated by the SocketReactor. 

class SocketNotifier

This class is used internally by SocketReactor to notify registered event handlers of socket events. 

class SocketReactor

This class, which is part of the Reactor pattern, implements the "Initiation Dispatcher". 

class TimeoutNotification

This notification is sent if no other event has occurred for a specified time. 

class WritableNotification

This notification is sent if a socket has become writable.