Add Registration functionality and tidy up
[WeStealzYourDataz.git] / src / uk / ac / ntu / n0521366 / wsyd / libs / message / MessageAbstract.java
index 66530d8..54e5b2c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * The MIT License
  *
- * Copyright 2015 TJ <hacker@iam.tj>.
+ * Copyright 2015 Eddie Berrisford-Lynch <dev@fun2be.me>.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -29,7 +29,7 @@ import java.net.InetAddress;
 /**
  * Base class of all Message types.
  * 
- * @author TJ <hacker@iam.tj>
+ * @author Eddie Berrisford-Lynch <dev@fun2be.me>
  */
 public abstract class MessageAbstract implements Serializable {
     /**
@@ -38,18 +38,5 @@ public abstract class MessageAbstract implements Serializable {
      * @return E.g. "LogRecord", "FriendOnline", "ChatRequest"
      */
     public abstract String getMessageType();
-    
-    /**
-     * IP address of the sending host.
-     * 
-     * This should be set by the <em>receiving service</em> using the value obtained from
-     * the packet or connection the message arrived in.
-     * 
-     * FIXME: sourceAddress: is this really needed? the message encapsulated in a NetworkMessage already
-     */
-    public InetAddress sourceAddress;
-    
-    public MessageAbstract() {
-        sourceAddress = null;
-    }
+        
 }