Module KX_NetworkMessageSensor
|
|
1
2
3 from SCA_ISensor import *
4
6 """
7 The Message Sensor logic brick.
8
9 Currently only loopback (local) networks are supported.
10 """
12 """
13 Change the message subject text that this sensor is listening to.
14
15 @type subject: string
16 @param subject: the new message subject to listen for.
17 """
18
20 """
21 Get the number of messages received since the last frame.
22
23 @rtype: integer
24 """
26 """
27 Gets the list of message bodies.
28
29 @rtype: list
30 """
32 """
33 Gets the message subject this sensor is listening for from the Subject: field.
34
35 @rtype: string
36 """
38 """
39 Gets the list of message subjects received.
40
41 @rtype: list
42 """
43