/* Web Polygraph       http://www.web-polygraph.org/
 * (C) 2003-2006 The Measurement Factory
 * Licensed under the Apache License, Version 2.0 */

#ifndef POLYGRAPH__APP_BEEPSESSIONREC_H
#define POLYGRAPH__APP_BEEPSESSIONREC_H

#include "xstd/FileScanner.h"
#include "xstd/Socket.h"

class BeepSessionMgr;

// keeps state for BeepDoorMan's sessions
class BeepSessionRec {
	public:
		BeepSessionRec();

	public:
		int theIdx;
		Socket theSock;
		NetAddr theRAddr;        // remote address
		BeepSessionMgr *theMgr;
		FileScanReserv theRdRes;
		FileScanReserv theWrRes;
};

#endif


syntax highlighted by Code2HTML, v. 0.9.1