PixelLightAPI  .
Public Member Functions | Protected Member Functions
PLCore::Server Class Reference

Network server class. More...

#include <Server.h>

Inheritance diagram for PLCore::Server:
Inheritance graph
[legend]

List of all members.

Public Member Functions

PLCORE_API Server ()
 Constructor.
virtual PLCORE_API ~Server ()
 Destructor.

Protected Member Functions

virtual PLCORE_API ConnectionCreateIncomingConnection () override
 Create a new incoming connection.
virtual PLCORE_API ConnectionCreateOutgoingConnection () override
 Create a new outgoing connection.

Detailed Description

Network server class.

Remarks:
A server is a specialized host that waits for incoming connections and processes them. A server does however not create new connections by itself, therefore the functions for that purpose are left empty in this class.

Constructor & Destructor Documentation

PLCORE_API PLCore::Server::Server ( )
virtual PLCORE_API PLCore::Server::~Server ( ) [virtual]

Destructor.


Member Function Documentation

virtual PLCORE_API Connection* PLCore::Server::CreateIncomingConnection ( ) [override, protected, virtual]

Create a new incoming connection.

Returns:
Connection

Reimplemented from PLCore::Host.

Reimplemented in PLCore::HttpServer.

virtual PLCORE_API Connection* PLCore::Server::CreateOutgoingConnection ( ) [override, protected, virtual]

Create a new outgoing connection.

Returns:
Connection

Reimplemented from PLCore::Host.


The documentation for this class was generated from the following file:


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:15
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported