Closed offbynull closed 8 years ago
Remove guava
This needs to be refactored such that a new thread isn't spawned that maintains the port mapping. Make it so that the user is responsible for maintaining the port mapping. Give a duration that the user should update at.
This needs to be done because systems like Android go to sleep when there's no activity, which means the threads pause, which means wakeups won't trigger. If the user controls when to next update, he/she can setup wakelocks as necessary.
This is done.
Actor-based framework should make this much easier to test.
May need a Serializer implementation specifically for NAT-PMP/PCP messages. May need a custom gateway for HTTP and UDP broadcasts