1
# $Id: KX_NetworkMessageSensor.py,v 1.3 2004/05/31 13:06:04 kester Exp $
2
# Documentation for KX_NetworkMessageSensor
3
from SCA_ISensor import *
5
class KX_NetworkMessageSensor(SCA_ISensor):
7
The Message Sensor logic brick.
9
Currently only loopback (local) networks are supported.
11
def setSubjectFilterText(subject):
13
Change the message subject text that this sensor is listening to.
16
@param subject: the new message subject to listen for.
19
def getFrameMessageCount():
21
Get the number of messages received since the last frame.
27
Gets the list of message bodies.
33
Gets the message subject this sensor is listening for from the Subject: field.
39
Gets the list of message subjects received.
b'\\ No newline at end of file'