protected synchronized void checkInit(){
  if (nonceGeneration == null) {
    nonceGeneration=new ZWaveSecureNonceTracker(getNode());
  }
  if (threadLock == null) {
    threadLock=new Object();
  }
  if (payloadEncapsulationQueue == null) {
    payloadEncapsulationQueue=new ConcurrentLinkedQueue<ZWaveSecurityPayloadFrame>();
  }
}

protected synchronized void checkInit ( ) { if ( nonceGeneration == null ) { nonceGeneration = new ZWaveSecureNonceTracker ( getNode ( ) ) ; } if ( threadLock == null ) { threadLock = new Object ( ) ; } if ( payloadEncapsulationQueue == null ) { payloadEncapsulationQueue = new ConcurrentLinkedQueue < ZWaveSecurityPayloadFrame > ( ) ; } }
checks the fields which are marked with xstreamomitfield as they will be null upon deserialization from a file todo : can ' t we find a better way to do this than calling it each time through the loop ?
