-
Notifications
You must be signed in to change notification settings - Fork 0
/
SClusterHandler.h
36 lines (32 loc) · 915 Bytes
/
SClusterHandler.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*************************************************************************
> File Name: SClusterHandler.h
> Author: Weidong, ZHANG
> Mail: [email protected]
> Created Time: Sun 30 Nov 2014 10:32:14 AM PST
************************************************************************/
#ifndef SCLUSTERHANDLER_H
#define SCLUSTERHANDLER_H
#include <iostream>
#include <map>
#include <thread>
#include "pdfs.h"
#include "Handler.h"
#include "UDPNetwork.h"
#include "Cluster.h"
#include "Redistribution.h"
namespace pdfs{
class SClusterHandler : public Handler
{
public:
unsigned virtual executeThis();
SClusterHandler(int id, int sfd) : Handler(id, sfd)
{
//this->cluster= cluster;
}
~SClusterHandler()
{
//cout << "Deleting " << id << "\t address=" << this << endl;
}
}; // end class SClusterHandler
} // end namespace
#endif