Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Friends | List of all members
cServerHandle Class Referenceabstract

Interface that provides the methods available on a listening server socket. More...

#include <Network.h>

Inheritance diagram for cServerHandle:
Inheritance graph
[legend]

Public Member Functions

virtual void Close (void)=0
 Stops the server, no more incoming connections will be accepted. More...
 
virtual bool IsListening (void) const =0
 Returns true if the server has been started correctly and is currently listening for incoming connections. More...
 
virtual ~cServerHandle ()
 

Friends

class cNetwork
 

Detailed Description

Interface that provides the methods available on a listening server socket.

Definition at line 145 of file Network.h.

Constructor & Destructor Documentation

virtual cServerHandle::~cServerHandle ( )
inlinevirtual

Definition at line 151 of file Network.h.

Member Function Documentation

virtual void cServerHandle::Close ( void  )
pure virtual

Stops the server, no more incoming connections will be accepted.

All current connections will be shut down (cTCPLink::Shutdown()).

Implemented in cServerHandleImpl.

virtual bool cServerHandle::IsListening ( void  ) const
pure virtual

Returns true if the server has been started correctly and is currently listening for incoming connections.

Implemented in cServerHandleImpl.

Friends And Related Function Documentation

friend class cNetwork
friend

Definition at line 147 of file Network.h.


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