YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::ServerSocket Class Reference

#include <ServerSocket.hpp>

Inheritance diagram for yap::ServerSocket:
Collaboration diagram for yap::ServerSocket:

List of all members.

Public Member Functions

 ServerSocket ()
virtual ~ServerSocket ()
bool Listen (Int16 port)
bool Accept (ClientSocket &client)
void Close ()
- Public Member Functions inherited from yap::Socket
virtual ~Socket ()
- Public Member Functions inherited from yap::ISocket
virtual ~ISocket ()

Private Member Functions

 DISALLOW_COPY (ServerSocket)

Private Attributes

sf::TcpListener listener_

Additional Inherited Members

- Protected Member Functions inherited from yap::Socket
 Socket ()

Detailed Description

Definition at line 14 of file ServerSocket.hpp.


Constructor & Destructor Documentation

yap::ServerSocket::ServerSocket ( )

Definition at line 6 of file ServerSocket.cpp.

yap::ServerSocket::~ServerSocket ( )
virtual

Definition at line 12 of file ServerSocket.cpp.


Member Function Documentation

bool yap::ServerSocket::Accept ( ClientSocket client)

Definition at line 21 of file ServerSocket.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::ServerSocket::Close ( )

Definition at line 26 of file ServerSocket.cpp.

Here is the caller graph for this function:

yap::ServerSocket::DISALLOW_COPY ( ServerSocket  )
private
bool yap::ServerSocket::Listen ( Int16  port)

Definition at line 16 of file ServerSocket.cpp.

Here is the caller graph for this function:


Member Data Documentation

sf::TcpListener yap::ServerSocket::listener_
private

Definition at line 31 of file ServerSocket.hpp.


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