class twisted.positioning.base.PositioningBeacon: (source)
Known subclasses: twisted.positioning.base.Satellite
Implements interfaces: twisted.positioning.ipositioning.IPositioningBeacon
A positioning beacon.
Instance Variable | identifier | A unique identifier for this beacon. The type is dependent on the implementation, but must be immutable. |
Method | __init__ | Initializes a positioning beacon. |
Method | __hash__ | Returns the hash of the identifier for this beacon. |
Method | __repr__ | Returns a string representation of this beacon. |
Initializes a positioning beacon.
Parameters | identifier | The identifier for this beacon. (type: Can be pretty much anything (see ivar documentation).) |
Returns the hash of the identifier for this beacon.
Returns | The hash of the identifier. (hash(self.identifier) ) (type: int ) |
Returns a string representation of this beacon.
Returns | The string representation. (type: str ) |