#NEWLINE# def __init__( self , callbackScheduler , port , portScanIncrement = 0 ) : #NEWLINE# #INDENT# SocketListener . __init__ ( self , port , portScanIncrement = portScanIncrement ) #NEWLINE# self . callbackScheduler = callbackScheduler #NEWLINE# self . channelConnectCallbackLock = threading . Lock ( ) #NEWLINE# self . channelConnectCallback = None #NEWLINE# self . pendingChannelConnections = [ ] #NEWLINE# self . channelsToTeardown = set ( )