MASA-Core
Public Member Functions | Private Attributes
Command Class Reference

Detailed Description

Definition at line 44 of file Command.hpp.

#include <Command.hpp>

Inheritance diagram for Command:
CmdCreateRing CmdJoin CmdNotifyScore CmdPeerList CmdPeerRequest CmdStatusRequest CmdStatusResponse CmdTestRing

List of all members.

Public Member Functions

 Command ()
virtual ~Command ()
virtual int getId ()=0
virtual void send (Peer *socket)=0
virtual void receive (Peer *socket)=0
int getSerial () const
void setSerial (int serial)

Private Attributes

int serial

Constructor & Destructor Documentation

Definition at line 24 of file Command.cpp.

Command::~Command ( ) [virtual]

Definition at line 30 of file Command.cpp.


Member Function Documentation

virtual int Command::getId ( ) [pure virtual]
int Command::getSerial ( ) const

Definition at line 35 of file Command.cpp.

virtual void Command::receive ( Peer socket) [pure virtual]
virtual void Command::send ( Peer socket) [pure virtual]
void Command::setSerial ( int  serial)

Definition at line 39 of file Command.cpp.


Member Data Documentation

int Command::serial [private]

Definition at line 58 of file Command.hpp.


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