1 '''
2 @author: Scott Haeger
3 @organization: IBM Corporation
4 @copyright: Copyright (c) 2005, 2007 IBM Corporation
5 @license: The BSD License
6
7 @author: Ramona Bunk
8 @organization: IT Science Center Ruegen gGmbH, Germany
9 @copyright: Copyright (c) 2007, 2008 ITSC Ruegen
10 @license: The BSD License
11
12 All rights reserved. This program and the accompanying materials are made
13 available under the terms of the BSD license which accompanies
14 this distribution, and is available at
15 U{http://www.opensource.org/licenses/bsd-license.php}
16 '''
17
18 from AccessEngine import AEConstants
19
21 '''
22 Base type for indicating IO events to monitors such that a monitor may
23 select whether to monitor input, output, both, or neither based on this
24 type and its subtypes.
25
26 The L{cmd} attribute of an instance of this class should be considered
27 public readable.
28
29 @ivar cmd: Command constant for this event
30 @type cmd: object
31 '''
33 '''
34 Stores the command constant.
35
36 @param cmd: Command constant for this event
37 @type cmd: object
38 '''
39 self.cmd = cmd
40
49
51 '''Event on an output device, wrapped for display by a L{AEMonitor}.'''
58