package br.ufrj.cos.redes.packet;

import java.io.Serializable;

public class EndPacket implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public static final String END_MSG = "FINISHED";
	
	private String sendedEndMsg;

	public EndPacket(String sendedEndMsg) {
		this.sendedEndMsg = sendedEndMsg;
	}

	public String getSendedEndMsg() {
		return this.sendedEndMsg;
	}
}

@@ -59,16 +59,46 @@
 izable;%0D
+%0Aimport java.net.InetAddress;%0D
 %0A%0D%0Apubli
@@ -297,16 +297,82 @@
 EndMsg;%0D
+%0A%09private InetAddress serverAddress;%0D%0A%09private int serverAckPort;%0D
 %0A%0D%0A%09publ
@@ -487,16 +487,16 @@
 sg() %7B%0D%0A
-
 %09%09return
@@ -519,12 +519,352 @@
 sg;%0D%0A%09%7D%0D
+%0A%0D%0A%09public InetAddress getServerAddress() %7B%0D%0A%09%09return serverAddress;%0D%0A%09%7D%0D%0A%0D%0A%09public void setServerAddress(InetAddress serverAddress) %7B%0D%0A%09%09this.serverAddress = serverAddress;%0D%0A%09%7D%0D%0A%0D%0A%09public int getServerAckPort() %7B%0D%0A%09%09return serverAckPort;%0D%0A%09%7D%0D%0A%0D%0A%09public void setServerAckPort(int serverAckPort) %7B%0D%0A%09%09this.serverAckPort = serverAckPort;%0D%0A%09%7D%0D
 %0A%7D%0D%0A

add attr for server addr and server socket port