OSDN Git Service

Modified the toString() for UdpEndpoint to include
authorPSpeed42@gmail.com <PSpeed42@gmail.com@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Sun, 17 Apr 2011 21:14:41 +0000 (21:14 +0000)
committerPSpeed42@gmail.com <PSpeed42@gmail.com@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Sun, 17 Apr 2011 21:14:41 +0000 (21:14 +0000)
the address instead of the socket... since they all share
the same socket anyway and the datagram sockets don't
have useful toString()s.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7256 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

engine/src/networking/com/jme3/network/kernel/udp/UdpEndpoint.java

index 7a99c57..5b44c4d 100644 (file)
@@ -132,6 +132,6 @@ public class UdpEndpoint implements Endpoint
 
     public String toString()
     {
-        return "UdpEndpoint[" + id + ", " + socket + "]";
+        return "UdpEndpoint[" + id + ", " + address + "]";
     }
 }