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

#include <NetworkHandler.hpp>

Collaboration diagram for yap::NetworkHandler:

List of all members.

Public Member Functions

 NetworkHandler (ClientSocket &socket)
void Refresh ()
bool IsEmpty () const
PacketPtrType GetPacket ()

Private Member Functions

 DISALLOW_COPY (NetworkHandler)

Private Attributes

ClientSocketsocket_
collection::Queue< PacketPtrTypepackets_

Detailed Description

Definition at line 17 of file NetworkHandler.hpp.


Constructor & Destructor Documentation

yap::NetworkHandler::NetworkHandler ( ClientSocket socket)

Definition at line 7 of file NetworkHandler.cpp.


Member Function Documentation

yap::NetworkHandler::DISALLOW_COPY ( NetworkHandler  )
private
PacketPtrType yap::NetworkHandler::GetPacket ( )

Definition at line 31 of file NetworkHandler.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool yap::NetworkHandler::IsEmpty ( ) const

Definition at line 26 of file NetworkHandler.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::NetworkHandler::Refresh ( )

Definition at line 13 of file NetworkHandler.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

collection::Queue<PacketPtrType> yap::NetworkHandler::packets_
private

Definition at line 34 of file NetworkHandler.hpp.

ClientSocket& yap::NetworkHandler::socket_
private

Definition at line 32 of file NetworkHandler.hpp.


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