/* 
File:	 packet.cp
Author:	R. P. Futrelle
Date:	 8/8/98
Notice:	Copyright 1998 by R. P. Futrelle and the College of Computer Science,
		Northeastern University
Class:  COM1204, Object-Oriented Design, Summer 1998.
Proj:	 PS2.� Metrowerks Code Warrior Mac. Done in IDE version 2.0.1.
Purpose: Packet class methods defined.
						

Modification history:
8/1/98:	RPF. Started.
8/1/98:	RPF. Constrctor
8/8/98: RPF. Add source and destination ints (phone numbers).

*/

#include "includes.h"

int Packet::next_id = 0;


Packet::
Packet(string *cntrl, string *spch, int info, int src, int dest)
	: control(cntrl), speech(spch), numinfo(info),
		source(src), destination(dest) {
	id = next_id++;
}