currentLevel = tmpLevel = isSink ? 0 : NO_LEVEL;
currentSinkID = tmpSinkID = isSink ? self : NO_SINK;
isConnected = (isSink) ? true : false;
isScheduledNetSetupTimeout = false;
currentSequenceNumber = 0;
-_-!
三元表達式
true就賦值?後的,false就賦值:後的值