* Hide Runnable interface in StunClientTransaction class.
* Use CustomizableThreadFactory to give custom names to threads.
* Extracted retransmission logic into separate class.
* Re-implement Retransmitter with ScheduledThreadPoolExecutor.
* Fixed retransmissionCounter increment.
* Directly call logger fine methods instead overload with Level.
* Use ScheduleExecutorService to run STUN keep alives.
* Mark threads as daemon threads.
* Fixed comments. Rearranged properties read in keep alive runnable.
* Added early check that keep alives must not be sent
* Renamed method to check keep alive condition.
* Fixed formatting.
* Renamed metrod which check if KA should run.
* Created CustomizableThreadFactory which support thread name prefixes and if threads are daemons.
* Created dedicated runnable class which perform STUN keep-alive checks.
* Minor comments fixes.
* Do not expose Runnable interface from StunKeepAliveRunner.
* Mark CustomizableThreadFactory fields as final.
* Added java doc to CustomizableThreadFactory
* Fix thread leak when Agent is freed before termination timer triggered.
* Use ScheduledExecutorService to terminate agent with timeout
* Fixed formatting to match project code style.
* AbstractUdpListener should be able to release its resources
A new 'close' method has been added to AbstractUdpListener that is modeled after the 'close' implementation
of AbstractTcpListener.
This change can be used to prevent the issue described in https://github.com/jitsi/ice4j/issues/139
* Prevent concurrent modification of collection.
Part of the processing is removal from the collection that is being iterated over. To
avoid concurrent modification exceptions, a copy of the collection is made, prior to
iteration.
* Style fixes and added copyright notice.
This commit adds documentation only. It does not introduce functional changes.
The documentation was generated by crafting hex dumps from the values hardcoded
in the source code, which were fed to Wireshark (using its "import from hex dump"
option).
Waits until all of the Multiplexed sockets belonging to a Multiplexing
are closed before closing the Multiplexing socket. Also introduces the
"persistent" flag of Multiplexing, which keeps it open even after all
of its Multiplexed sockets are closed.
fix: Makes MultiplexingDatagramSocket#persistent final.
After the delegate is closed, isClosed() would return true,
which would prevent the DatagramSocket instance (super) from
actually closing and releasing its resources.
The problem was reproduced with java7 and defining multiple ipv6 fake(not-operational) addresses to one of the interfaces and running for a while.
Fixesjitsi/jitsi-meet#1390 and fixesjitsi/jicofo#167.