Simplify UDP
------------
Key: JGRP-771
URL:
http://jira.jboss.com/jira/browse/JGRP-771
Project: JGroups
Issue Type: Task
Affects Versions: 2.7
Reporter: Vladimir Blagojevic
Assigned To: Bela Ban
Fix For: 2.7
We have some boilerplate code in UDP where we receive packets. We essentially need to read
packets from socket and pass them to receive method of TP. In UDP we have the same code
*repeated* to read packets from multicast and unicast socket. Unify packet reading into
one class - PacketReceiver and use PacketReceiver for both unicast and multicast socket.
Use features of JDK5 as well.
See UDP.java revision 1.171
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira