1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.mina.util;
20
21 /***
22 * Enumeration for MINA event types.
23 * Used by {@link ThreadPool}s when they push events to event queue.
24 *
25 * @author The Apache Directory Project (dev@directory.apache.org)
26 * @author Trustin Lee (trustin@apache.org)
27 * @version $Rev$, $Date$
28 */
29 public class EventType
30 {
31 public static final EventType OPENED = new EventType();
32
33 public static final EventType CLOSED = new EventType();
34
35 public static final EventType READ = new EventType();
36
37 public static final EventType WRITTEN = new EventType();
38
39 public static final EventType RECEIVED = new EventType();
40
41 public static final EventType SENT = new EventType();
42
43 public static final EventType IDLE = new EventType();
44
45 public static final EventType EXCEPTION = new EventType();
46
47 private EventType()
48 {
49 }
50 }