Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

LeaderPkg Class Reference

implementa il messaggio di saluto del Leader. More...

#include <LeaderPkg.h>

Inheritance diagram for LeaderPkg:

TelepatiPkg List of all members.

Public Methods

 LeaderPkg (int a, bool ack)
 Costruttore ordinario. More...

 LeaderPkg (byte *ptr)
 Costruisce l'oggetto a partire dall'array restituito da getMsg(). More...

virtual ~LeaderPkg ()
 Distruttore di Default.

virtual TelepatiPkgclone ()
 Clonatore. More...

byte * getMsg ()
 Ritorna un array che rappresenta l'oggetto. More...


Detailed Description

implementa il messaggio di saluto del Leader.

Messaggio spedito dal Leader all'avvio per informare gli other della sua presenza. Struttura: e' composto esclusivamente dall'header standard


Constructor & Destructor Documentation

LeaderPkg::LeaderPkg int    a,
bool    ack
 

Costruttore ordinario.

Parameters:
a  aibo di destinazione
ack  se ha bisogno o meno dell'Ack

LeaderPkg::LeaderPkg byte *    ptr
 

Costruisce l'oggetto a partire dall'array restituito da getMsg().

Parameters:
ptr  puntatore all'array di byte.
See also:
getMsg()


Member Function Documentation

TelepatiPkg * LeaderPkg::clone   [virtual]
 

Clonatore.

Restituisce un clone dell'oggetto su cui e' chiamato.

Implements TelepatiPkg.

byte * LeaderPkg::getMsg   [virtual]
 

Ritorna un array che rappresenta l'oggetto.

Costruisce un array che rappresenta l'oggetto, l'array corrisponde ai dati spediti via rete.

Returns:
array di byte.
See also:
LeaderPkg(byte* ptr)

Implements TelepatiPkg.


The documentation for this class was generated from the following files:
Generated on Tue Mar 1 15:06:16 2005 for Packages_Library by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002