#NEWLINE# def _initReceived( self , msg ) : #NEWLINE# #INDENT# ' Internally used method process a complete string message as long as\n            the connection is not yet initialized.\n\n            @param msg:         Message which was received.\n            @type  msg:         str\n        ' #NEWLINE# if ( len ( d ) != 32 ) : #NEWLINE# #INDENT# log . msg ( 'Protocol Error: iInit message has invalid format.' ) #NEWLINE# self . transport . loseConnection ( ) #NEWLINE# return #NEWLINE# #UNINDENT# d = self . _endpoint . processInit ( self , msg [ : 16 ] , msg [ 16 : ] ) #NEWLINE# d . addCallbacks ( self . _initSuccessful , self . _initFailed )