def flagPriority( self, prioVal ):
    if( prioVal not in range( 8 ) ):
      raise ValueError( "Assigned value (%d) out of range." % prioVal )
    self._flags &= ~SMB2_FLAGS_PRIORITY_MASK
    self._flags |= (prioVal << 4)