root / src / messages / Message.java
History | View | Annotate | Download (343 Bytes)
1 | 1 | up20150524 | package messages; |
---|---|---|---|
2 | |||
3 | import chord.ConnectionInfo; |
||
4 | |||
5 | import java.io.IOException; |
||
6 | import java.io.Serializable; |
||
7 | import java.net.UnknownHostException; |
||
8 | |||
9 | public abstract class Message implements Serializable{ |
||
10 | |||
11 | public abstract void handleMessage() throws IOException; |
||
12 | public abstract String getIpAddress(); |
||
13 | public abstract int getPort(); |
||
14 | |||
15 | } |