- Main Page
- Namespaces
- Classes
- Files

- Namespace List
- Namespace Members

Classes | Functions
GNet Namespace Reference

Network classes. More...

## Classes
class | AbstractTimer
| A timer base class that calls a pure virtual method on expiry. More...
class | AcceptPair
| A class which is used to return a new()ed socket to calling code, together with associated information, and with auto_ptr style transfer of ownership. More...
class | Address
| The Address class encapsulates an IP transport address. More...
class | AddressImp
| A pimple-pattern implementation class for GNet::Address. More...
class | AddressStorage
| A helper class for calling getsockname() and getpeername() and hiding the definition of sockaddr_storage. More...
class | AddressStorageImp
| A pimple-pattern implementation class for GNet::AddressStorage. More...
class | BufferedServerPeer
| A ServerPeer that does line-buffering on input. More...
class | Client
| A HeapClient class that adds slot/signal signalling, connection/response timeouts, and input line buffering. More...
class | ClientPtr
| A smart pointer class for GNet::HeapClient. More...
class | ClientResolver
| A resolver class which calls SimpleClient::resolveCon() when done. More...
class | Connection
| An interface which provides address information for a network connection. More...
class | ConnectionLookup
| A class for getting more information about a connection from the operating system. More...
class | DatagramSocket
| A derivation of Socket for a connectionless datagram socket. More...
class | Descriptor
| A network file descriptor. More...
class | EventHandler
| A base class for classes that handle asynchronous socket events. More...
class | EventHandlerList
| A class which can be used in the implemention of classes derived from GNet::EventLoop. More...
class | EventLoop
| An abstract base class for a singleton that keeps track of open sockets and their associated handlers. More...
class | FdSet
| An "fd_set" wrapper type. More...
class | HeapClient
| A SimpleClient class for client objects that manage their own lifetime on the heap. More...
class | LineBuffer
| A class which does line buffering. More...
class | LineBufferIterator
| An iterator class for GNet::LineBuffer. More...
class | Local
| A static class for getting information about the local machine's network name and address. More...
class | Lock
| A private implementation class used by GNet::Select to lock data structures in the face of reentrancy. More...
class | Monitor
| A singleton for monitoring SimpleClient and ServerPeer connections. More...
class | MonitorImp
| A pimple pattern implementation class for GNet::Monitor. More...
class | MultiServer
| A server that listens on more than one interface using a facade pattern to multiple Server instances. More...
class | MultiServerImp
| A private implementation class used by GNet::MultiServer. More...
class | MultiServerPtr
| A private implementation class used by GNet::MultiServer. More...
class | Resolver
| A class for asynchronous TCP name-to-address resolution. More...
class | ResolverImp
| A pimple-pattern implementation class for GNet::Resolver. More...
class | ResolverInfo
| A class that holds a host/service name pair and optionally the results of a name-to-address lookup, ie. More...
class | Select
| A concrete implementation of GNet::EventLoop using select() in the implementation. More...
class | Server
| A network server class which listens on a specific port and spins off ServerPeer objects for each incoming connection. More...
class | ServerPeer
| An abstract base class for the GNet::Server's connection to a remote client. More...
class | ServerPeerHandle
| A structure used in the implementation of GNet::Server. More...
class | SimpleClient
| A class for making an outgoing connection to a remote server, with support for socket-level protocols such as TLS/SSL and SOCKS 4a. More...
class | Socket
| The Socket class encapsulates a non-blocking Unix socket file descriptor or a Windows 'SOCKET' handle. More...
class | SocketProtocol
| An interface for implementing a low-level protocol layer by means of calling read() and write() on a connected non-blocking socket and installing and removing event handlers as appropriate. More...
class | SocketProtocolImp
| A private implementation class used by GNet::SocketProtocol. More...
class | SocketProtocolSink
| An interface used by GNet::SocketProtocol to deliver data from a socket. More...
class | StreamSocket
| A derivation of Socket for a stream socket. More...
class | Timer
| A timer class template in which the timeout is delivered to the specified method. More...
class | TimerList
| A singleton which maintains a list of all Timer objects, and interfaces to the event loop on their behalf. More...
class | TimerUpdate
| A private implementation class used by GNet::AbstractTimer. More...

## Functions
std::ostream & | operator<< (std::ostream &stream, const Descriptor &d)

## Detailed Description

Network classes.

The GNet namespace contains network interface classes based on the Berkley socket and WinSock system APIs.

Key classes are:

- Address
- EventHandler
- EventLoop
- MultiServer
- Resolver
- Server
- Socket
- Timer

## Function Documentation

std::ostream& GNet::operator<< | ( | std::ostream & | stream,
|  | const Descriptor & | d
| ) |  |
| inline

Definition at line 66 of file gdescriptor.h.

References GNet::Descriptor::fd().