def init(): """ """ global _LocalListener if _Debug: lg.out(4, 'gateway.init') open_transport_log(settings.TransportLog()) if _LocalListener: lg.warn('local listener already exist') else: _LocalListener = TransportGateLocalProxy()
def init(): """ """ global _LocalListener global _DoingShutdown if _Debug: lg.out(4, 'gateway.init') if _DoingShutdown: return open_transport_log(settings.TransportLog()) _LocalListener = TransportGateLocalProxy()
def init(): """ """ global _LocalListener global _PacketLogFileEnabled if _Debug: lg.out(4, 'gateway.init') open_transport_log(settings.TransportLog()) if _LocalListener: lg.warn('local listener already exist') else: _LocalListener = TransportGateLocalProxy() _PacketLogFileEnabled = config.conf().getBool('logs/packet-enabled')