Merged transports' finish() and dispose() methods.

This commit is contained in:
akwizgran
2011-10-06 19:00:33 +01:00
parent 07d6715881
commit c08f6c4d1e
10 changed files with 29 additions and 65 deletions

View File

@@ -135,6 +135,7 @@ implements StreamTransportPlugin {
}
public synchronized void poll() {
// Subclasses may not support polling
if(!shouldPoll()) throw new UnsupportedOperationException();
if(!started) return;
for(ContactId c : remoteProperties.keySet()) {