Module ImportFrom alias ImportFrom alias Import alias identifier ImportFrom alias alias Assign NameStore TupleLoad Str Str Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str decorator_list Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A twisted.internet defer twisted.protocols.basic Int32StringReceiver N/A comet.log log comet.protocol.messages ack nak N/A VOEVENT_ROLES N/A observation prediction utility test ElementSender N/A Int32StringReceiver N/A N/A 
    Superclass for protocols which will send XML messages which must be
    deserialized from ET elements.
     send_xml N/A N/A self document N/A N/A N/A 
        Takes an xml_document and sends it as text.
         N/A N/A N/A self sendString N/A document raw_bytes N/A lengthLimitExceeded N/A N/A self length N/A N/A N/A 
        This is called when a remote tries to send a massive string.

        Quite likely that's because it sends the prefix in little endian
        (rather than network) byte order.
         N/A N/A N/A log info N/A Length limit exceeded (%d bytes). N/A length N/A N/A N/A Int32StringReceiver lengthLimitExceeded self length N/A N/A EventHandler N/A ElementSender N/A N/A 
    Superclass for protocols which will receive events (ie, Subscriber and
    Receiver) providing event handling support.
     validate_event N/A N/A self event N/A N/A N/A 
        Call a set of event validators on a given event (an xml_document).

        If a validator raises an exception (ie, calls an errback), the event
        is invalid. Otherwise, it's ok.
         N/A N/A N/A defer gatherResults N/A N/A N/A defer maybeDeferred validator event N/A validator N/A N/A self factory validators consumeErrors True N/A handle_event N/A N/A self event N/A N/A N/A 
        Call a set of event handlers on a given event (itself an ElementTree
        element).
         N/A N/A N/A defer gatherResults N/A N/A N/A defer maybeDeferred handler event N/A handler N/A N/A self factory handlers consumeErrors True N/A process_event N/A N/A self event can_nak N/A True N/A N/A 
        Validate and (if appropriate) handle an event.

        If can_nak is False, we send an ACK (rather than a NAK) even if the
        event is invalid. This may be appropriate if we are a subscriber
        rather than a receiver: we should invalidate duplicate VOEvents
        received from multiple upstream brokers, but not respond to each with
        a NAK or they might shut off our connection as per the VTP note (6.4
        -- "If there is an error (nak received...) [...] this would result in
        the broker removing the subscriber from its distribution list.
         handle_valid N/A N/A status N/A N/A N/A N/A N/A log debug N/A Event accepted; sending ACK to %s N/A N/A N/A self transport getPeer N/A N/A N/A self send_xml N/A ack N/A N/A self factory local_ivo N/A N/A N/A event element attrib N/A ivorn N/A N/A N/A N/A N/A self handle_event event addCallbacks N/A N/A N/A x N/A N/A N/A log debug Event processed N/A N/A N/A x N/A N/A N/A log warn Event handlers failed N/A handle_invalid N/A N/A failure N/A N/A N/A N/A N/A log info N/A Event rejected (%s); discarding N/A N/A N/A N/A N/A failure value subFailure getErrorMessage N/A can_nak N/A N/A N/A N/A log debug N/A Sending NAK to %s N/A N/A N/A self transport getPeer N/A N/A N/A self send_xml N/A nak N/A N/A self factory local_ivo N/A N/A N/A event element attrib N/A ivorn N/A Event rejected: %s N/A N/A N/A N/A N/A failure value subFailure getErrorMessage N/A N/A N/A N/A log debug N/A Sending ACK to %s N/A N/A N/A self transport getPeer N/A N/A N/A self send_xml N/A ack N/A N/A self factory local_ivo N/A N/A N/A event element attrib N/A ivorn N/A N/A N/A N/A N/A N/A self validate_event event addCallbacks handle_valid handle_invalid N/A N/A