@@ -0,0 +1,352 @@
+package communication.protocols;%0A%0Aimport communication.messages.Message;%0A%0Apublic class MessagePrinterProtocol implements Protocol %7B%0A%0A%09@Override%0A%09public String getAcceptedMessageType() %7B%0A%09%09return %22TextMessage%22;%0A%09%7D%0A%0A%09@Override%0A%09public Message processMessage(Object message) %7B%0A%09%09System.out.println(((Message) message).getContents());%0A%09%09return null;%0A%09%7D%0A%0A%7D%0A

Add a simple message printer protocol