#NEWLINE# def register_service( self , protocol , obj , properties = None ) : #NEWLINE# #INDENT# ' Register a service. ' #NEWLINE# service_id = self . service_registry . register_service ( protocol , obj , properties ) #NEWLINE# return service_id