4 class TheOneRingLocation(telepathy.server.ConnectionInterfaceLocation):
7 telepathy.server.ConnectionInterfaceLocation.__init__(self)
9 def GetLocations(self, contacts):
11 @returns {Contact: {Location Type: Location}}
13 raise NotImplementedError()
15 def RequestLocation(self, contact):
17 @returns {Location Type: Location}
19 raise NotImplementedError()
21 def SetLocation(self, location):
23 Since presence is based off of phone numbers, not allowing the client to change it
25 raise telepathy.errors.PermissionDenied()