Added test classes for the networking and made so that the network engine sends object insted of raw data

This commit is contained in:
Ziver Koc 2007-06-03 19:20:26 +00:00
parent a0363aa3d8
commit 16b9f1f265
11 changed files with 161 additions and 53 deletions

View file

@ -0,0 +1,23 @@
package ei.engine.network.message;
public class StringMessage extends Message {
private static final long serialVersionUID = 1L;
private String msg;
public StringMessage(String msg){
this.msg = msg;
}
public String getString(){
return msg;
}
public void setString(String msg){
this.msg = msg;
}
public String toString(){
return getString();
}
}