2013-11-21 14:49:30 +01:00
|
|
|
#ifndef NETWORK_DEPENDENCIES_TRANSLATOR_H
|
|
|
|
#define NETWORK_DEPENDENCIES_TRANSLATOR_H
|
|
|
|
|
|
|
|
#include "Messages/MessagesInclude.h"
|
|
|
|
#include "Protocols.h"
|
|
|
|
#include "ITranslate.h"
|
|
|
|
|
|
|
|
namespace Oyster
|
|
|
|
{
|
|
|
|
namespace Network
|
|
|
|
{
|
|
|
|
class Translator : public ITranslate
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Translator (){};
|
|
|
|
~Translator(){};
|
|
|
|
|
|
|
|
unsigned char* Translate (Protocols::ProtocolHeader &header );
|
2013-11-22 08:56:00 +01:00
|
|
|
Protocols::ProtocolHeader* Translate (unsigned char msg[] );
|
2013-11-21 14:49:30 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|