Project

General

Profile

Statistics
| Revision:

root / proj / src / BackUpInfo.java @ 1

History | View | Annotate | Download (375 Bytes)

1
public class BackUpInfo {
2

    
3
        String fileID;
4
        int chunkN;
5
        int peerID;
6
        
7
        public BackUpInfo(String fileID, int chunkN, int peerID) {
8
                this.fileID = fileID;
9
                this.chunkN = chunkN;
10
                this.peerID = peerID;
11
        }
12
        
13
        String getFileID() {
14
                return this.fileID;
15
        }
16
        
17
        int getChunkN() {
18
                return this.chunkN;
19
        }
20
        
21

    
22
        int getPeerID() {
23
                return this.peerID;
24
        }
25
}