root / DistributedBackupService / src / sockets / MDBSocket.java
History | View | Annotate | Download (457 Bytes)
1 |
/*
|
---|---|
2 |
* To change this license header, choose License Headers in Project Properties.
|
3 |
* To change this template file, choose Tools | Templates
|
4 |
* and open the template in the editor.
|
5 |
*/
|
6 |
package sockets; |
7 |
|
8 |
import java.io.IOException; |
9 |
|
10 |
import server.Peer; |
11 |
|
12 |
public class MDBSocket extends Socket { |
13 |
public MDBSocket(Peer peer, String address, String port) throws IOException { |
14 |
super(peer, address, port);
|
15 |
|
16 |
System.out.println("MDB: socket is alive!"); |
17 |
} |
18 |
|
19 |
} |