Renamed MessageDispatcher's 'setTimeout' to 'setSendTimeout'. The more specific name is much clearer when the dispatcher is also being used for receive operations (e.g. PollingDispatcher).

This commit is contained in:
Mark Fisher
2008-08-15 14:23:09 +00:00
parent 32f4722ee4
commit 34710691aa
4 changed files with 5 additions and 5 deletions

View File

@@ -219,7 +219,7 @@ public class BroadcastingDispatcherTests {
dispatcher.subscribe(targetMock1);
dispatcher.subscribe(targetMock2);
dispatcher.subscribe(targetMock3);
dispatcher.setTimeout(50);
dispatcher.setSendTimeout(50);
// three threads invoking targets
final CountDownLatch latch = new CountDownLatch(3);
threadedExecutorMock(3);