package edu.teco.dnd.network.messages;

/**
 * Message that signals that the sender has accepted the connection.
 * 
 * @author Philipp Adolf
 */
public class ConnectionEstablishedMessage extends Message {
	/**
	 * The type of this message.
	 */
	public static final String MESSAGE_TYPE = "connection established";

	@Override
	public String toString() {
		return "ConnectionEstablishedMessage[]";
	}
}

@@ -33,16 +33,40 @@
 sages;%0A%0A
+import java.util.UUID;%0A%0A
 /**%0A * M
@@ -336,89 +336,341 @@
 d%22;%0A
-%0A%09@Override%0A%09public String toString() %7B%0A%09%09return %22ConnectionEstablishedMessage%5B%5D%22
+%09%0A%09private final UUID remoteUUID;%0A%09%0A%09public ConnectionEstablishedMessage(final UUID remoteUUID) %7B%0A%09%09super();%0A%09%09this.remoteUUID = remoteUUID;%0A%09%7D%0A%0A%09@Override%0A%09public String toString() %7B%0A%09%09return %22ConnectionEstablishedMessage%5Buuid=%22 + getUUID() + %22,remoteUUID=%22 + remoteUUID + %22%5D%22;%0A%09%7D%0A%0A%09public UUID getRemoteUUID() %7B%0A%09%09return remoteUUID
 ;%0A%09%7D

Add remote UUID to ConnectionEstablishedMessage