
    h                     b    S r SSKJrJr   " S S\5      r " S S\5      r " S S\5      r/ S	Qrg
)z'
Positioning interfaces.

@since: 14.0
    )	Attribute	Interfacec                   H    \ rS rSrSrS rS rS rS rS r	S r
S	 rS
 rSrg)IPositioningReceiver   z)
An interface for positioning providers.
c                     g)a  
Method called when a position is received.

@param latitude: The latitude of the received position.
@type latitude: L{twisted.positioning.base.Coordinate}
@param longitude: The longitude of the received position.
@type longitude: L{twisted.positioning.base.Coordinate}
N )latitude	longitudes     g/root/1688_scrapy/alibaba-scraper/venv/lib/python3.13/site-packages/twisted/positioning/ipositioning.pypositionReceived%IPositioningReceiver.positionReceived           c                     g)z
Method called when position error is received.

@param positionError: The position error.
@type positionError: L{twisted.positioning.base.PositionError}
Nr	   )positionErrors    r   positionErrorReceived*IPositioningReceiver.positionErrorReceived   r   r   c                     g)z
Method called when time and date information arrives.

@param time: The date and time (expressed in UTC unless otherwise
    specified).
@type time: L{datetime.datetime}
Nr	   )times    r   timeReceived!IPositioningReceiver.timeReceived$   r   r   c                     g)z
Method called when a true heading is received.

@param heading: The heading.
@type heading: L{twisted.positioning.base.Heading}
Nr	   )headings    r   headingReceived$IPositioningReceiver.headingReceived-   r   r   c                     g)z
Method called when an altitude is received.

@param altitude: The altitude.
@type altitude: L{twisted.positioning.base.Altitude}
Nr	   )altitudes    r   altitudeReceived%IPositioningReceiver.altitudeReceived5   r   r   c                     g)z
Method called when the speed is received.

@param speed: The speed of a mobile object.
@type speed: L{twisted.positioning.base.Speed}
Nr	   )speeds    r   speedReceived"IPositioningReceiver.speedReceived=   r   r   c                     g)z
Method called when the climb is received.

@param climb: The climb of the mobile object.
@type climb: L{twisted.positioning.base.Climb}
Nr	   )climbs    r   climbReceived"IPositioningReceiver.climbReceivedE   r   r   c                     g)z
Method called when positioning beacon information is received.

@param beaconInformation: The beacon information.
@type beaconInformation: L{twisted.positioning.base.BeaconInformation}
Nr	   )beaconInformations    r   beaconInformationReceived.IPositioningReceiver.beaconInformationReceivedM   r   r   r	   N)__name__
__module____qualname____firstlineno____doc__r   r   r   r   r   r#   r'   r+   __static_attributes__r	   r   r   r   r      s/    r   r   c                   (    \ rS rSrSr\" S5      rSrg)IPositioningBeaconV   z
A positioning beacon.
z
        A unique identifier for this beacon. The type is dependent on the
        implementation, but must be immutable.
        r	   N)r-   r.   r/   r0   r1   r   
identifierr2   r	   r   r   r4   r4   V   s     	Jr   r4   c                       \ rS rSrSrS rSrg)INMEAReceiverc   z'
An object that can receive NMEA data.
c                     g)z
Method called when a sentence is received.

@param sentence: The received NMEA sentence.
@type L{twisted.positioning.nmea.NMEASentence}
Nr	   )sentences    r   sentenceReceivedINMEAReceiver.sentenceReceivedh   r   r   r	   N)r-   r.   r/   r0   r1   r<   r2   r	   r   r   r8   r8   c   s    r   r8   )r   r4   r8   N)r1   zope.interfacer   r   r   r4   r8   __all__r	   r   r   <module>r@      s>    0F9 FR
 
I  Jr   