<s> """<STR_LIT>""" <EOL> from gdata . tlslite . TLSConnection import TLSConnection <EOL> class TLSSocketServerMixIn : <EOL> """<STR_LIT>""" <EOL> def finish_request ( self , sock , client_address ) : <EOL> tlsConnection = TLSConnection ( sock ) <EOL> if self . handshake ( tlsConnection ) == True : <EOL> self . RequestHandlerClass ( tlsConnection , client_address , self ) <EOL> tlsConnection . close ( ) <EOL> def handshake ( self , tlsConnection ) : <EOL> raise NotImplementedError ( ) </s>
