From 0fecd032df36f401e475a6d8e8e3911374a73e04 Mon Sep 17 00:00:00 2001 From: "PSp..om" Date: Mon, 21 Mar 2011 23:34:13 +0000 Subject: [PATCH] Unwinding a bit of the Message vs. Message conundrum to give new API users a proper extension point for their own messages. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7069 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/networking/com/jme3/network/message/Message.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/src/networking/com/jme3/network/message/Message.java b/engine/src/networking/com/jme3/network/message/Message.java index 032fdf784..1a7868d36 100644 --- a/engine/src/networking/com/jme3/network/message/Message.java +++ b/engine/src/networking/com/jme3/network/message/Message.java @@ -42,9 +42,12 @@ import com.jme3.network.serializing.Serializable; * provide objects with common fields to the other side. * * @author Lars Wesselius + * @deprecated Message implementations should extend {@linke com.jme3.network.AbstractMessage} + * instead or use the {@linke com.jme3.network.Message} for referencing. */ +@Deprecated @Serializable() -public class Message implements com.jme3.network.Message { +public class Message extends com.jme3.network.AbstractMessage { // The connector this message is meant for. private transient Client connector; private transient Connection connection;