#NEWLINE# def _makeQ2QService( self , certificateEntity , publicIP , pff = None ) : #NEWLINE# #INDENT# svc = q2q . Q2QService ( pff , q2qPortnum = 0 , inboundTCPPortnum = self . inboundTCPPortnum , publicIP = publicIP ) #NEWLINE# svc . udpEnabled = self . udpEnabled #NEWLINE# svc . virtualEnabled = self . virtualEnabled #NEWLINE# if ( '@' not in certificateEntity ) : #NEWLINE# #INDENT# svc . certificateStorage . addPrivateCertificate ( certificateEntity ) #NEWLINE# #UNINDENT# svc . debugName = certificateEntity #NEWLINE# return svc