#NEWLINE# def buildProtocol( self , addr ) : #NEWLINE# #INDENT# from carbon.conf import settings #NEWLINE# if ( len ( state . connectedMetricReceiverProtocols ) < settings . MAX_RECEIVER_CONNECTIONS ) : #NEWLINE# #INDENT# return ServerFactory . buildProtocol ( addr , addr ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return None