blob: 19bb42d23d1640a1f7c3e38dff2b8ef12a6c6a11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* Copyright (c) 2010-14, Isode Limited, London, England.
* All rights reserved.
*/
package com.isode.stroke.eventloop;
/**
* Don't use this, it simply runs the callback in the same thread.
* It is useful for unit testing, but will break GUIs.
*/
public class ImmediateEventLoop extends EventLoop {
@Override
protected void post(Event event) {
handleEvent(event);
}
}
|