|
Revision 71, 441 bytes
(checked in by kbarnes3, 2 years ago)
|
Added Jay's original code for the Overhaul test server.
|
| Line | |
|---|
| 1 |
import java.net.InetAddress; |
|---|
| 2 |
|
|---|
| 3 |
public class OverhaulClient { |
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
private InetAddress IP; |
|---|
| 7 |
private int speed; |
|---|
| 8 |
private int port; |
|---|
| 9 |
|
|---|
| 10 |
public InetAddress getIP() { |
|---|
| 11 |
return IP; |
|---|
| 12 |
} |
|---|
| 13 |
|
|---|
| 14 |
public void setIP(InetAddress ip) { |
|---|
| 15 |
IP = ip; |
|---|
| 16 |
} |
|---|
| 17 |
|
|---|
| 18 |
public int getPort() { |
|---|
| 19 |
return port; |
|---|
| 20 |
} |
|---|
| 21 |
|
|---|
| 22 |
public void setPort(int port) { |
|---|
| 23 |
this.port = port; |
|---|
| 24 |
} |
|---|
| 25 |
|
|---|
| 26 |
public int getSpeed() { |
|---|
| 27 |
return speed; |
|---|
| 28 |
} |
|---|
| 29 |
|
|---|
| 30 |
public void setSpeed(int speed) { |
|---|
| 31 |
this.speed = speed; |
|---|
| 32 |
} |
|---|
| 33 |
|
|---|
| 34 |
} |
|---|