

def send(self, obj):
    "\n        Send data over service parent's XML stream.\n\n        @note: L{ServiceManager} maintains a queue for data sent using this\n        method when there is no current established XML stream. This data is\n        then sent as soon as a new stream has been established and initialized.\n        Subsequently, L{componentConnected} will be called again. If this\n        queueing is not desired, use C{send} on the XmlStream object (passed to\n        L{componentConnected}) directly.\n\n        @param obj: data to be sent over the XML stream. This is usually an\n        object providing L{domish.IElement}, or serialized XML. See\n        L{xmlstream.XmlStream} for details.\n        "
    self.parent.send(obj)

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/protocols/jabber/component.py Service.send/original